Ignore:
Timestamp:
Feb 11, 2013, 8:53:47 PM (13 years ago)
Author:
dmik
Message:

Merge icedtea-web v1.3 to trunk.

Location:
trunk/icedtea-web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web

  • trunk/icedtea-web/configure

    r348 r418  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for icedtea-web 1.1.2.
     3# Generated by GNU Autoconf 2.68 for icedtea-web 1.3.
    44#
    55# Report bugs to <distro-pkg-dev@openjdk.java.net>.
     
    560560PACKAGE_NAME='icedtea-web'
    561561PACKAGE_TARNAME='icedtea-web'
    562 PACKAGE_VERSION='1.1.2'
    563 PACKAGE_STRING='icedtea-web 1.1.2'
     562PACKAGE_VERSION='1.3'
     563PACKAGE_STRING='icedtea-web 1.3'
    564564PACKAGE_BUGREPORT='distro-pkg-dev@openjdk.java.net'
    565565PACKAGE_URL='http://icedtea.classpath.org/wiki/IcedTea-Web'
     
    569569LTLIBOBJS
    570570LIBOBJS
     571EMMA_AVAILABLE
     572EMMA_JAR
     573WITH_EMMA_FALSE
     574WITH_EMMA_TRUE
    571575JUNIT_AVAILABLE
    572576JUNIT_JAR
     
    577581WITH_RHINO_FALSE
    578582WITH_RHINO_TRUE
     583WITH_XSLTPROC_FALSE
     584WITH_XSLTPROC_TRUE
     585BROWSER_TESTS_MODIFICATION
     586EPIPHANY
     587MIDORI
     588OPERA
     589CHROMIUM
     590CHROME
     591FIREFOX
     592XSLTPROC
     593GLIB2_V_216_LIBS
     594GLIB2_V_216_CFLAGS
     595VERSION_DEFS
    579596JAVA
    580597SYSTEM_JRE_DIR
     
    601618ICEDTEA_REVISION
    602619HG
     620JARSIGNER
     621KEYTOOL
    603622JAVADOC_SUPPORTS_J_OPTIONS_FALSE
    604623JAVADOC_SUPPORTS_J_OPTIONS_TRUE
     
    636655am__fastdepCC_TRUE
    637656CCDEPMODE
     657am__nodep
    638658AMDEPBACKSLASH
    639659AMDEP_FALSE
     
    732752with_ecj_jar
    733753with_javadoc
     754with_keytool
     755with_jarsigner
    734756with_pkgversion
    735757enable_plugin
     758with_gtk
    736759with_jre_home
    737760with_java
     761with_firefox
     762with_chrome
     763with_chromium
     764with_opera
     765with_midori
     766with_epiphany
     767with_browser_tests
    738768with_rhino
    739769with_junit
     770with_emma
    740771'
    741772      ac_precious_vars='build_alias
     
    760791MOZILLA_LIBS
    761792X11_CFLAGS
    762 X11_LIBS'
     793X11_LIBS
     794GLIB2_V_216_CFLAGS
     795GLIB2_V_216_LIBS'
    763796
    764797
     
    13031336  # This message is too long to be a string in the A/UX 3.1 sh.
    13041337  cat <<_ACEOF
    1305 \`configure' configures icedtea-web 1.1.2 to adapt to many kinds of systems.
     1338\`configure' configures icedtea-web 1.3 to adapt to many kinds of systems.
    13061339
    13071340Usage: $0 [OPTION]... [VAR=VALUE]...
     
    13731406if test -n "$ac_init_help"; then
    13741407  case $ac_init_help in
    1375      short | recursive ) echo "Configuration of icedtea-web 1.1.2:";;
     1408     short | recursive ) echo "Configuration of icedtea-web 1.3:";;
    13761409   esac
    13771410  cat <<\_ACEOF
     
    13981431  --with-javadoc          specify location of Java documentation tool
    13991432                          (javadoc)
     1433  --with-keytool          specify location of keytool for signed part of
     1434                          run-netx-dist
     1435  --with-jarsigner        specify location of jarsigner for signed part od
     1436                          run-netx-dist
    14001437  --with-pkgversion=PKG   Use PKG in the version string in addition to
    14011438                          "IcedTea"
     1439  --with-gtk=2|3|default  the GTK+ version to use (default: 3)
    14021440  --with-jre-home         jre home directory (default is the JRE under the
    14031441                          JDK)
    14041442  --with-java             specify location of the 1.5 java vm
     1443  --with-firefox          specify the location of firefox
     1444  --with-chrome           specify the location of chrome
     1445  --with-chromium         specify the location of chromium
     1446  --with-opera            specify the location of opera
     1447  --with-midori           specify the location of midori
     1448  --with-epiphany         specify the location of epiphany
     1449  --with-browser-tests    yes - as defined (default), no - all browser tests
     1450                          will be skipped, one - all "mutiple browsers" test
     1451                          will behave as "one" test, all - all browser tests
     1452                          will be run for all set browsers
    14051453  --with-rhino            specify location of the rhino jar
    14061454  --with-junit            specify location of the junit jar
     1455  --with-emma             specify location of the emma jar
    14071456
    14081457Some influential environment variables:
     
    14311480  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
    14321481  X11_LIBS    linker flags for X11, overriding pkg-config
     1482  GLIB2_V_216_CFLAGS
     1483              C compiler flags for GLIB2_V_216, overriding pkg-config
     1484  GLIB2_V_216_LIBS
     1485              linker flags for GLIB2_V_216, overriding pkg-config
    14331486
    14341487Use these variables to override the choices made by `configure' or to help
     
    14991552if $ac_init_version; then
    15001553  cat <<\_ACEOF
    1501 icedtea-web configure 1.1.2
     1554icedtea-web configure 1.3
    15021555generated by GNU Autoconf 2.68
    15031556
     
    16381691running configure, to aid debugging if configure makes a mistake.
    16391692
    1640 It was created by icedtea-web $as_me 1.1.2, which was
     1693It was created by icedtea-web $as_me 1.3, which was
    16411694generated by GNU Autoconf 2.68.  Invocation command line was
    16421695
     
    24532506# Define the identity of the package.
    24542507 PACKAGE='icedtea-web'
    2455  VERSION='1.1.2'
     2508 VERSION='1.3'
    24562509
    24572510
     
    24832536# We need awk for the "check" target.  The system "awk" is bad on
    24842537# some platforms.
    2485 # Always define AMTAR for backward compatibility.
    2486 
    2487 AMTAR=${AMTAR-"${am_missing_run}tar"}
     2538# Always define AMTAR for backward compatibility.  Yes, it's still used
     2539# in the wild :-(  We should find a proper way to deprecate it ...
     2540AMTAR='$${TAR-tar}'
    24882541
    24892542
     
    34983551  am_depcomp="$ac_aux_dir/depcomp"
    34993552  AMDEPBACKSLASH='\'
     3553  am__nodep='_no'
    35003554fi
    35013555 if test "x$enable_dependency_tracking" != xno; then
     
    35223576  # making a dummy file named `D' -- because `-MD' means `put the output
    35233577  # in D'.
     3578  rm -rf conftest.dir
    35243579  mkdir conftest.dir
    35253580  # Copy depcomp to subdir because otherwise we won't find it if we're
     
    35813636      fi
    35823637      ;;
    3583     msvisualcpp | msvcmsys)
     3638    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    35843639      # This compiler won't grok `-c -o', but also, the minuso test has
    35853640      # not run yet.  These depmodes are late enough in the game, and
     
    39063961  # making a dummy file named `D' -- because `-MD' means `put the output
    39073962  # in D'.
     3963  rm -rf conftest.dir
    39083964  mkdir conftest.dir
    39093965  # Copy depcomp to subdir because otherwise we won't find it if we're
     
    39654021      fi
    39664022      ;;
    3967     msvisualcpp | msvcmsys)
     4023    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    39684024      # This compiler won't grok `-c -o', but also, the minuso test has
    39694025      # not run yet.  These depmodes are late enough in the game, and
     
    58325888  mkdir pkg
    58335889  cat << \EOF > $CLASS
    5834 /* [#]line 5834 "configure" */
     5890/* [#]line 5890 "configure" */
    58355891package pkg;
    58365892
     
    58705926
    58715927
     5928
     5929
     5930  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for keytool" >&5
     5931$as_echo_n "checking for keytool... " >&6; }
     5932
     5933# Check whether --with-keytool was given.
     5934if test "${with_keytool+set}" = set; then :
     5935  withval=$with_keytool;
     5936    if test "${withval}" = "yes" ; then
     5937      KEYTOOL=${SYSTEM_JDK_DIR}/bin/keytool
     5938    else
     5939      KEYTOOL="${withval}"
     5940    fi
     5941
     5942else
     5943
     5944    KEYTOOL=${SYSTEM_JDK_DIR}/bin/keytool
     5945
     5946fi
     5947
     5948  if ! test -f "${KEYTOOL}"; then
     5949    # Extract the first word of "keytool", so it can be a program name with args.
     5950set dummy keytool; ac_word=$2
     5951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5952$as_echo_n "checking for $ac_word... " >&6; }
     5953if ${ac_cv_path_KEYTOOL+:} false; then :
     5954  $as_echo_n "(cached) " >&6
     5955else
     5956  case $KEYTOOL in
     5957  [\\/]* | ?:[\\/]*)
     5958  ac_cv_path_KEYTOOL="$KEYTOOL" # Let the user override the test with a path.
     5959  ;;
     5960  *)
     5961  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5962for as_dir in $PATH
     5963do
     5964  IFS=$as_save_IFS
     5965  test -z "$as_dir" && as_dir=.
     5966    for ac_exec_ext in '' $ac_executable_extensions; do
     5967  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5968    ac_cv_path_KEYTOOL="$as_dir/$ac_word$ac_exec_ext"
     5969    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5970    break 2
     5971  fi
     5972done
     5973  done
     5974IFS=$as_save_IFS
     5975
     5976  ;;
     5977esac
     5978fi
     5979KEYTOOL=$ac_cv_path_KEYTOOL
     5980if test -n "$KEYTOOL"; then
     5981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYTOOL" >&5
     5982$as_echo "$KEYTOOL" >&6; }
     5983else
     5984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5985$as_echo "no" >&6; }
     5986fi
     5987
     5988
     5989  fi
     5990  if ! test -f "${KEYTOOL}"; then
     5991    KEYTOOL=""
     5992  fi
     5993  if test -z "${KEYTOOL}" ; then
     5994     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"keytool not found so signed part of run-netx-dist will fail\"" >&5
     5995$as_echo "$as_me: WARNING: \"keytool not found so signed part of run-netx-dist will fail\"" >&2;}
     5996  fi
     5997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${KEYTOOL}" >&5
     5998$as_echo "${KEYTOOL}" >&6; }
     5999
     6000
     6001
     6002
     6003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jarsigner" >&5
     6004$as_echo_n "checking for jarsigner... " >&6; }
     6005
     6006# Check whether --with-jarsigner was given.
     6007if test "${with_jarsigner+set}" = set; then :
     6008  withval=$with_jarsigner;
     6009    if test "${withval}" = "yes" ; then
     6010      JARSIGNER=${SYSTEM_JDK_DIR}/bin/jarsigner
     6011    else
     6012      JARSIGNER="${withval}"
     6013    fi
     6014
     6015else
     6016
     6017    JARSIGNER=${SYSTEM_JDK_DIR}/bin/jarsigner
     6018
     6019fi
     6020
     6021  if ! test -f "${JARSIGNER}"; then
     6022    # Extract the first word of "jarsigner", so it can be a program name with args.
     6023set dummy jarsigner; ac_word=$2
     6024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6025$as_echo_n "checking for $ac_word... " >&6; }
     6026if ${ac_cv_path_JARSIGNER+:} false; then :
     6027  $as_echo_n "(cached) " >&6
     6028else
     6029  case $JARSIGNER in
     6030  [\\/]* | ?:[\\/]*)
     6031  ac_cv_path_JARSIGNER="$JARSIGNER" # Let the user override the test with a path.
     6032  ;;
     6033  *)
     6034  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6035for as_dir in $PATH
     6036do
     6037  IFS=$as_save_IFS
     6038  test -z "$as_dir" && as_dir=.
     6039    for ac_exec_ext in '' $ac_executable_extensions; do
     6040  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6041    ac_cv_path_JARSIGNER="$as_dir/$ac_word$ac_exec_ext"
     6042    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6043    break 2
     6044  fi
     6045done
     6046  done
     6047IFS=$as_save_IFS
     6048
     6049  test -z "$ac_cv_path_JARSIGNER" && ac_cv_path_JARSIGNER=""""
     6050  ;;
     6051esac
     6052fi
     6053JARSIGNER=$ac_cv_path_JARSIGNER
     6054if test -n "$JARSIGNER"; then
     6055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JARSIGNER" >&5
     6056$as_echo "$JARSIGNER" >&6; }
     6057else
     6058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6059$as_echo "no" >&6; }
     6060fi
     6061
     6062
     6063  fi
     6064  if ! test -f "${JARSIGNER}"; then
     6065    JARSIGNER=""
     6066  fi
     6067  if test -z "${JARSIGNER}"; then
     6068     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"jarsigner not found so signed part of run-netx-dist will fail\"" >&5
     6069$as_echo "$as_me: WARNING: \"jarsigner not found so signed part of run-netx-dist will fail\"" >&2;}
     6070  fi
     6071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JARSIGNER}" >&5
     6072$as_echo "${JARSIGNER}" >&6; }
     6073
     6074
    58726075ac_config_files="$ac_config_files javac"
    58736076
     
    61756378if test "x${enable_plugin}" = "xyes" ; then
    61766379
     6380# Check whether --with-gtk was given.
     6381if test "${with_gtk+set}" = set; then :
     6382  withval=$with_gtk; case "$with_gtk" in
     6383       2|3|default) ;;
     6384       *) as_fn_error $? "invalid GTK version specified" "$LINENO" 5 ;;
     6385     esac
     6386else
     6387  with_gtk=default
     6388fi
     6389
     6390
     6391  case "$with_gtk" in
     6392    default)
     6393
     6394pkg_failed=no
     6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
     6396$as_echo_n "checking for GTK... " >&6; }
     6397
     6398if test -n "$GTK_CFLAGS"; then
     6399    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
     6400 elif test -n "$PKG_CONFIG"; then
     6401    if test -n "$PKG_CONFIG" && \
     6402    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
     6403  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
     6404  ac_status=$?
     6405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6406  test $ac_status = 0; }; then
     6407  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
     6408else
     6409  pkg_failed=yes
     6410fi
     6411 else
     6412    pkg_failed=untried
     6413fi
     6414if test -n "$GTK_LIBS"; then
     6415    pkg_cv_GTK_LIBS="$GTK_LIBS"
     6416 elif test -n "$PKG_CONFIG"; then
     6417    if test -n "$PKG_CONFIG" && \
     6418    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
     6419  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
     6420  ac_status=$?
     6421  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6422  test $ac_status = 0; }; then
     6423  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
     6424else
     6425  pkg_failed=yes
     6426fi
     6427 else
     6428    pkg_failed=untried
     6429fi
     6430
     6431
     6432
     6433if test $pkg_failed = yes; then
     6434        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6435$as_echo "no" >&6; }
     6436
     6437if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     6438        _pkg_short_errors_supported=yes
     6439else
     6440        _pkg_short_errors_supported=no
     6441fi
     6442        if test $_pkg_short_errors_supported = yes; then
     6443                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0" 2>&1`
     6444        else
     6445                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0" 2>&1`
     6446        fi
     6447        # Put the nasty error message in config.log where it belongs
     6448        echo "$GTK_PKG_ERRORS" >&5
     6449
     6450
    61776451pkg_failed=no
    61786452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
     
    62316505        echo "$GTK_PKG_ERRORS" >&5
    62326506
    6233         as_fn_error $? "Package requirements (gtk+-2.0) were not met:
    6234 
    6235 $GTK_PKG_ERRORS
    6236 
    6237 Consider adjusting the PKG_CONFIG_PATH environment variable if you
    6238 installed software in a non-standard prefix.
    6239 
    6240 Alternatively, you may set the environment variables GTK_CFLAGS
    6241 and GTK_LIBS to avoid the need to call pkg-config.
    6242 See the pkg-config man page for more details." "$LINENO" 5
     6507        as_fn_error $? "GTK $with_gtk not found" "$LINENO" 5
    62436508
    62446509elif test $pkg_failed = untried; then
    62456510        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    62466511$as_echo "no" >&6; }
    6247         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    6248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6249 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
    6250 is in your PATH or set the PKG_CONFIG environment variable to the full
    6251 path to pkg-config.
    6252 
    6253 Alternatively, you may set the environment variables GTK_CFLAGS
    6254 and GTK_LIBS to avoid the need to call pkg-config.
    6255 See the pkg-config man page for more details.
    6256 
    6257 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
    6258 See \`config.log' for more details" "$LINENO" 5; }
     6512        as_fn_error $? "GTK $with_gtk not found" "$LINENO" 5
    62596513
    62606514else
     
    62646518$as_echo "yes" >&6; }
    62656519
    6266 fi
     6520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2 version" >&5
     6521$as_echo_n "checking for GTK2 version... " >&6; }
     6522  GTK_VER=`$PKG_CONFIG --modversion gtk+-2.0`
     6523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VER" >&5
     6524$as_echo "$GTK_VER" >&6; }
     6525
     6526fi
     6527
     6528elif test $pkg_failed = untried; then
     6529        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6530$as_echo "no" >&6; }
     6531
     6532pkg_failed=no
     6533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
     6534$as_echo_n "checking for GTK... " >&6; }
     6535
     6536if test -n "$GTK_CFLAGS"; then
     6537    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
     6538 elif test -n "$PKG_CONFIG"; then
     6539    if test -n "$PKG_CONFIG" && \
     6540    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
     6541  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
     6542  ac_status=$?
     6543  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6544  test $ac_status = 0; }; then
     6545  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
     6546else
     6547  pkg_failed=yes
     6548fi
     6549 else
     6550    pkg_failed=untried
     6551fi
     6552if test -n "$GTK_LIBS"; then
     6553    pkg_cv_GTK_LIBS="$GTK_LIBS"
     6554 elif test -n "$PKG_CONFIG"; then
     6555    if test -n "$PKG_CONFIG" && \
     6556    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
     6557  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
     6558  ac_status=$?
     6559  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6560  test $ac_status = 0; }; then
     6561  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
     6562else
     6563  pkg_failed=yes
     6564fi
     6565 else
     6566    pkg_failed=untried
     6567fi
     6568
     6569
     6570
     6571if test $pkg_failed = yes; then
     6572        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6573$as_echo "no" >&6; }
     6574
     6575if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     6576        _pkg_short_errors_supported=yes
     6577else
     6578        _pkg_short_errors_supported=no
     6579fi
     6580        if test $_pkg_short_errors_supported = yes; then
     6581                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
     6582        else
     6583                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
     6584        fi
     6585        # Put the nasty error message in config.log where it belongs
     6586        echo "$GTK_PKG_ERRORS" >&5
     6587
     6588        as_fn_error $? "GTK $with_gtk not found" "$LINENO" 5
     6589
     6590elif test $pkg_failed = untried; then
     6591        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6592$as_echo "no" >&6; }
     6593        as_fn_error $? "GTK $with_gtk not found" "$LINENO" 5
     6594
     6595else
     6596        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
     6597        GTK_LIBS=$pkg_cv_GTK_LIBS
     6598        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6599$as_echo "yes" >&6; }
     6600
     6601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2 version" >&5
     6602$as_echo_n "checking for GTK2 version... " >&6; }
     6603  GTK_VER=`$PKG_CONFIG --modversion gtk+-2.0`
     6604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VER" >&5
     6605$as_echo "$GTK_VER" >&6; }
     6606
     6607fi
     6608
     6609else
     6610        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
     6611        GTK_LIBS=$pkg_cv_GTK_LIBS
     6612        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6613$as_echo "yes" >&6; }
     6614
     6615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3 version" >&5
     6616$as_echo_n "checking for GTK3 version... " >&6; }
     6617  GTK_VER=`$PKG_CONFIG --modversion gtk+-3.0`
     6618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VER" >&5
     6619$as_echo "$GTK_VER" >&6; }
     6620
     6621fi
     6622      ;;
     6623    *)
     6624
     6625pkg_failed=no
     6626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
     6627$as_echo_n "checking for GTK... " >&6; }
     6628
     6629if test -n "$GTK_CFLAGS"; then
     6630    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
     6631 elif test -n "$PKG_CONFIG"; then
     6632    if test -n "$PKG_CONFIG" && \
     6633    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk.0\""; } >&5
     6634  ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk.0") 2>&5
     6635  ac_status=$?
     6636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6637  test $ac_status = 0; }; then
     6638  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$with_gtk.0" 2>/dev/null`
     6639else
     6640  pkg_failed=yes
     6641fi
     6642 else
     6643    pkg_failed=untried
     6644fi
     6645if test -n "$GTK_LIBS"; then
     6646    pkg_cv_GTK_LIBS="$GTK_LIBS"
     6647 elif test -n "$PKG_CONFIG"; then
     6648    if test -n "$PKG_CONFIG" && \
     6649    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk.0\""; } >&5
     6650  ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk.0") 2>&5
     6651  ac_status=$?
     6652  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6653  test $ac_status = 0; }; then
     6654  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$with_gtk.0" 2>/dev/null`
     6655else
     6656  pkg_failed=yes
     6657fi
     6658 else
     6659    pkg_failed=untried
     6660fi
     6661
     6662
     6663
     6664if test $pkg_failed = yes; then
     6665        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6666$as_echo "no" >&6; }
     6667
     6668if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     6669        _pkg_short_errors_supported=yes
     6670else
     6671        _pkg_short_errors_supported=no
     6672fi
     6673        if test $_pkg_short_errors_supported = yes; then
     6674                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$with_gtk.0" 2>&1`
     6675        else
     6676                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$with_gtk.0" 2>&1`
     6677        fi
     6678        # Put the nasty error message in config.log where it belongs
     6679        echo "$GTK_PKG_ERRORS" >&5
     6680
     6681        as_fn_error $? "GTK $with_gtk not found" "$LINENO" 5
     6682
     6683elif test $pkg_failed = untried; then
     6684        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6685$as_echo "no" >&6; }
     6686        as_fn_error $? "GTK $with_gtk not found" "$LINENO" 5
     6687
     6688else
     6689        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
     6690        GTK_LIBS=$pkg_cv_GTK_LIBS
     6691        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6692$as_echo "yes" >&6; }
     6693
     6694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK$with_gtk version" >&5
     6695$as_echo_n "checking for GTK$with_gtk version... " >&6; }
     6696  GTK_VER=`$PKG_CONFIG --modversion gtk+-$with_gtk.0`
     6697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VER" >&5
     6698$as_echo "$GTK_VER" >&6; }
     6699
     6700fi
     6701      ;;
     6702  esac
     6703
    62676704
    62686705pkg_failed=no
     
    63706807 elif test -n "$PKG_CONFIG"; then
    63716808    if test -n "$PKG_CONFIG" && \
     6809    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"npapi-sdk\""; } >&5
     6810  ($PKG_CONFIG --exists --print-errors "npapi-sdk") 2>&5
     6811  ac_status=$?
     6812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6813  test $ac_status = 0; }; then
     6814  pkg_cv_MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "npapi-sdk" 2>/dev/null`
     6815else
     6816  pkg_failed=yes
     6817fi
     6818 else
     6819    pkg_failed=untried
     6820fi
     6821if test -n "$MOZILLA_LIBS"; then
     6822    pkg_cv_MOZILLA_LIBS="$MOZILLA_LIBS"
     6823 elif test -n "$PKG_CONFIG"; then
     6824    if test -n "$PKG_CONFIG" && \
     6825    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"npapi-sdk\""; } >&5
     6826  ($PKG_CONFIG --exists --print-errors "npapi-sdk") 2>&5
     6827  ac_status=$?
     6828  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6829  test $ac_status = 0; }; then
     6830  pkg_cv_MOZILLA_LIBS=`$PKG_CONFIG --libs "npapi-sdk" 2>/dev/null`
     6831else
     6832  pkg_failed=yes
     6833fi
     6834 else
     6835    pkg_failed=untried
     6836fi
     6837
     6838
     6839
     6840if test $pkg_failed = yes; then
     6841        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6842$as_echo "no" >&6; }
     6843
     6844if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     6845        _pkg_short_errors_supported=yes
     6846else
     6847        _pkg_short_errors_supported=no
     6848fi
     6849        if test $_pkg_short_errors_supported = yes; then
     6850                MOZILLA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "npapi-sdk" 2>&1`
     6851        else
     6852                MOZILLA_PKG_ERRORS=`$PKG_CONFIG --print-errors "npapi-sdk" 2>&1`
     6853        fi
     6854        # Put the nasty error message in config.log where it belongs
     6855        echo "$MOZILLA_PKG_ERRORS" >&5
     6856
     6857
     6858
     6859pkg_failed=no
     6860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOZILLA" >&5
     6861$as_echo_n "checking for MOZILLA... " >&6; }
     6862
     6863if test -n "$MOZILLA_CFLAGS"; then
     6864    pkg_cv_MOZILLA_CFLAGS="$MOZILLA_CFLAGS"
     6865 elif test -n "$PKG_CONFIG"; then
     6866    if test -n "$PKG_CONFIG" && \
    63726867    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
    63736868  ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
     
    64536948fi
    64546949
     6950elif test $pkg_failed = untried; then
     6951        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6952$as_echo "no" >&6; }
     6953
     6954
     6955pkg_failed=no
     6956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOZILLA" >&5
     6957$as_echo_n "checking for MOZILLA... " >&6; }
     6958
     6959if test -n "$MOZILLA_CFLAGS"; then
     6960    pkg_cv_MOZILLA_CFLAGS="$MOZILLA_CFLAGS"
     6961 elif test -n "$PKG_CONFIG"; then
     6962    if test -n "$PKG_CONFIG" && \
     6963    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
     6964  ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
     6965  ac_status=$?
     6966  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6967  test $ac_status = 0; }; then
     6968  pkg_cv_MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin" 2>/dev/null`
     6969else
     6970  pkg_failed=yes
     6971fi
     6972 else
     6973    pkg_failed=untried
     6974fi
     6975if test -n "$MOZILLA_LIBS"; then
     6976    pkg_cv_MOZILLA_LIBS="$MOZILLA_LIBS"
     6977 elif test -n "$PKG_CONFIG"; then
     6978    if test -n "$PKG_CONFIG" && \
     6979    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
     6980  ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
     6981  ac_status=$?
     6982  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6983  test $ac_status = 0; }; then
     6984  pkg_cv_MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin" 2>/dev/null`
     6985else
     6986  pkg_failed=yes
     6987fi
     6988 else
     6989    pkg_failed=untried
     6990fi
     6991
     6992
     6993
     6994if test $pkg_failed = yes; then
     6995        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6996$as_echo "no" >&6; }
     6997
     6998if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     6999        _pkg_short_errors_supported=yes
     7000else
     7001        _pkg_short_errors_supported=no
     7002fi
     7003        if test $_pkg_short_errors_supported = yes; then
     7004                MOZILLA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin" 2>&1`
     7005        else
     7006                MOZILLA_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin" 2>&1`
     7007        fi
     7008        # Put the nasty error message in config.log where it belongs
     7009        echo "$MOZILLA_PKG_ERRORS" >&5
     7010
     7011        as_fn_error $? "Package requirements (mozilla-plugin) were not met:
     7012
     7013$MOZILLA_PKG_ERRORS
     7014
     7015Consider adjusting the PKG_CONFIG_PATH environment variable if you
     7016installed software in a non-standard prefix.
     7017
     7018Alternatively, you may set the environment variables MOZILLA_CFLAGS
     7019and MOZILLA_LIBS to avoid the need to call pkg-config.
     7020See the pkg-config man page for more details." "$LINENO" 5
     7021
     7022elif test $pkg_failed = untried; then
     7023        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7024$as_echo "no" >&6; }
     7025        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     7026$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     7027as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
     7028is in your PATH or set the PKG_CONFIG environment variable to the full
     7029path to pkg-config.
     7030
     7031Alternatively, you may set the environment variables MOZILLA_CFLAGS
     7032and MOZILLA_LIBS to avoid the need to call pkg-config.
     7033See the pkg-config man page for more details.
     7034
     7035To get pkg-config, see <http://pkg-config.freedesktop.org/>.
     7036See \`config.log' for more details" "$LINENO" 5; }
     7037
     7038else
     7039        MOZILLA_CFLAGS=$pkg_cv_MOZILLA_CFLAGS
     7040        MOZILLA_LIBS=$pkg_cv_MOZILLA_LIBS
     7041        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     7042$as_echo "yes" >&6; }
     7043
     7044fi
     7045
     7046else
     7047        MOZILLA_CFLAGS=$pkg_cv_MOZILLA_CFLAGS
     7048        MOZILLA_LIBS=$pkg_cv_MOZILLA_LIBS
     7049        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     7050$as_echo "yes" >&6; }
     7051
     7052    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner version" >&5
     7053$as_echo_n "checking for xulrunner version... " >&6; }
     7054if ${xulrunner_cv_collapsed_version+:} false; then :
     7055  $as_echo_n "(cached) " >&6
     7056else
     7057
     7058      # XXX: use NPAPI versions instead
     7059      xulrunner_cv_collapsed_version=20000000
     7060
     7061fi
     7062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xulrunner_cv_collapsed_version" >&5
     7063$as_echo "$xulrunner_cv_collapsed_version" >&6; }
     7064
     7065fi
     7066
    64557067
    64567068
     
    64787090    then
    64797091      xulrunner_cv_collapsed_version=`pkg-config --modversion libxul | awk -F. '{power=6; v=0; for (i=1; i <= NF; i++) {v += $i * 10 ^ power; power -=2}; print v}'`
     7092    elif pkg-config --modversion mozilla-plugin >/dev/null 2>&1
     7093    then
     7094      xulrunner_cv_collapsed_version=`pkg-config --modversion mozilla-plugin | awk -F. '{power=6; v=0; for (i=1; i <= NF; i++) {v += $i * 10 ^ power; power -=2}; print v}'`
    64807095    else
    64817096      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     
    67877402$as_echo "${JAVA}" >&6; }
    67887403
     7404  JAVA_VERSION=`$JAVA -version 2>&1 | sed -n '1s/[^"]*"\(.*\)"$/\1/p'`
     7405  case "${JAVA_VERSION}" in
     7406    1.7*) VERSION_DEFS='-DHAVE_JAVA7';;
     7407  esac
     7408
    67897409
    67907410
     
    68027422cd tmp.$$
    68037423cat << \EOF > $CLASS
    6804 /* [#]line 6804 "configure" */
     7424/* [#]line 7424 "configure" */
    68057425package sun.applet;
    68067426
     
    68527472cd tmp.$$
    68537473cat << \EOF > $CLASS
    6854 /* [#]line 6854 "configure" */
     7474/* [#]line 7474 "configure" */
    68557475package sun.applet;
    68567476
     
    69027522cd tmp.$$
    69037523cat << \EOF > $CLASS
    6904 /* [#]line 6904 "configure" */
     7524/* [#]line 7524 "configure" */
    69057525package sun.applet;
    69067526
     
    69527572cd tmp.$$
    69537573cat << \EOF > $CLASS
    6954 /* [#]line 6954 "configure" */
     7574/* [#]line 7574 "configure" */
    69557575package sun.applet;
    69567576
     
    70027622cd tmp.$$
    70037623cat << \EOF > $CLASS
    7004 /* [#]line 7004 "configure" */
     7624/* [#]line 7624 "configure" */
    70057625package sun.applet;
    70067626
     
    70527672cd tmp.$$
    70537673cat << \EOF > $CLASS
    7054 /* [#]line 7054 "configure" */
     7674/* [#]line 7674 "configure" */
    70557675package sun.applet;
    70567676
     
    71027722cd tmp.$$
    71037723cat << \EOF > $CLASS
    7104 /* [#]line 7104 "configure" */
     7724/* [#]line 7724 "configure" */
    71057725package sun.applet;
    71067726
     
    71527772cd tmp.$$
    71537773cat << \EOF > $CLASS
    7154 /* [#]line 7154 "configure" */
     7774/* [#]line 7774 "configure" */
    71557775package sun.applet;
    71567776
     
    71917811
    71927812
    7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.misc.BASE64Encoder is available" >&5
    7194 $as_echo_n "checking if sun.misc.BASE64Encoder is available... " >&6; }
    7195 if ${it_cv_SUN_MISC_BASE64ENCODER+:} false; then :
     7813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.misc.HexDumpEncoder is available" >&5
     7814$as_echo_n "checking if sun.misc.HexDumpEncoder is available... " >&6; }
     7815if ${it_cv_SUN_MISC_HEXDUMPENCODER+:} false; then :
    71967816  $as_echo_n "(cached) " >&6
    71977817else
     
    72027822cd tmp.$$
    72037823cat << \EOF > $CLASS
    7204 /* [#]line 7204 "configure" */
    7205 package sun.applet;
    7206 
    7207 import sun.misc.BASE64Encoder;
    7208 
    7209 public class Test
    7210 {
    7211   public static void main(String[] args)
    7212     throws Exception
    7213   {
    7214     System.out.println(Class.forName("sun.misc.BASE64Encoder"));
    7215   }
    7216 }
    7217 
    7218 EOF
    7219 if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
    7220   if $JAVA -classpath . $BYTECODE >&5 2>&1; then
    7221       it_cv_SUN_MISC_BASE64ENCODER=yes;
    7222   else
    7223       it_cv_SUN_MISC_BASE64ENCODER=no;
    7224   fi
    7225 else
    7226   it_cv_SUN_MISC_BASE64ENCODER=no;
    7227 fi
    7228 
    7229 fi
    7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_MISC_BASE64ENCODER" >&5
    7231 $as_echo "$it_cv_SUN_MISC_BASE64ENCODER" >&6; }
    7232 rm -f $CLASS *.class
    7233 cd ..
    7234 # should be rmdir but has to be rm -rf due to sun.applet usage
    7235 rm -rf tmp.$$
    7236 if test x"${it_cv_SUN_MISC_BASE64ENCODER}" = "xno"; then
    7237    as_fn_error $? "sun.misc.BASE64Encoder not found." "$LINENO" 5
    7238 fi
    7239 
    7240 
    7241 
    7242 
    7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.misc.HexDumpEncoder is available" >&5
    7244 $as_echo_n "checking if sun.misc.HexDumpEncoder is available... " >&6; }
    7245 if ${it_cv_SUN_MISC_HEXDUMPENCODER+:} false; then :
    7246   $as_echo_n "(cached) " >&6
    7247 else
    7248 
    7249 CLASS=sun/applet/Test.java
    7250 BYTECODE=$(echo $CLASS|sed 's#\.java##')
    7251 mkdir -p tmp.$$/$(dirname $CLASS)
    7252 cd tmp.$$
    7253 cat << \EOF > $CLASS
    7254 /* [#]line 7254 "configure" */
     7824/* [#]line 7824 "configure" */
    72557825package sun.applet;
    72567826
     
    73027872cd tmp.$$
    73037873cat << \EOF > $CLASS
    7304 /* [#]line 7304 "configure" */
     7874/* [#]line 7874 "configure" */
    73057875package sun.applet;
    73067876
     
    73527922cd tmp.$$
    73537923cat << \EOF > $CLASS
    7354 /* [#]line 7354 "configure" */
     7924/* [#]line 7924 "configure" */
    73557925package sun.applet;
    73567926
     
    73917961
    73927962
    7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.awt.X11.XEmbeddedFrame is available" >&5
    7394 $as_echo_n "checking if sun.awt.X11.XEmbeddedFrame is available... " >&6; }
    7395 if ${it_cv_SUN_AWT_X11_XEMBEDDEDFRAME+:} false; then :
     7963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.net.www.protocol.jar.URLJarFile is available" >&5
     7964$as_echo_n "checking if sun.net.www.protocol.jar.URLJarFile is available... " >&6; }
     7965if ${it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE+:} false; then :
    73967966  $as_echo_n "(cached) " >&6
    73977967else
     
    74027972cd tmp.$$
    74037973cat << \EOF > $CLASS
    7404 /* [#]line 7404 "configure" */
     7974/* [#]line 7974 "configure" */
     7975package sun.applet;
     7976
     7977import sun.net.www.protocol.jar.URLJarFile;
     7978
     7979public class Test
     7980{
     7981  public static void main(String[] args)
     7982    throws Exception
     7983  {
     7984    System.out.println(Class.forName("sun.net.www.protocol.jar.URLJarFile"));
     7985  }
     7986}
     7987
     7988EOF
     7989if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
     7990  if $JAVA -classpath . $BYTECODE >&5 2>&1; then
     7991      it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE=yes;
     7992  else
     7993      it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE=no;
     7994  fi
     7995else
     7996  it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE=no;
     7997fi
     7998
     7999fi
     8000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE" >&5
     8001$as_echo "$it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE" >&6; }
     8002rm -f $CLASS *.class
     8003cd ..
     8004# should be rmdir but has to be rm -rf due to sun.applet usage
     8005rm -rf tmp.$$
     8006if test x"${it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE}" = "xno"; then
     8007   as_fn_error $? "sun.net.www.protocol.jar.URLJarFile not found." "$LINENO" 5
     8008fi
     8009
     8010
     8011
     8012
     8013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.net.www.protocol.jar.URLJarFileCallBack is available" >&5
     8014$as_echo_n "checking if sun.net.www.protocol.jar.URLJarFileCallBack is available... " >&6; }
     8015if ${it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK+:} false; then :
     8016  $as_echo_n "(cached) " >&6
     8017else
     8018
     8019CLASS=sun/applet/Test.java
     8020BYTECODE=$(echo $CLASS|sed 's#\.java##')
     8021mkdir -p tmp.$$/$(dirname $CLASS)
     8022cd tmp.$$
     8023cat << \EOF > $CLASS
     8024/* [#]line 8024 "configure" */
     8025package sun.applet;
     8026
     8027import sun.net.www.protocol.jar.URLJarFileCallBack;
     8028
     8029public class Test
     8030{
     8031  public static void main(String[] args)
     8032    throws Exception
     8033  {
     8034    System.out.println(Class.forName("sun.net.www.protocol.jar.URLJarFileCallBack"));
     8035  }
     8036}
     8037
     8038EOF
     8039if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
     8040  if $JAVA -classpath . $BYTECODE >&5 2>&1; then
     8041      it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK=yes;
     8042  else
     8043      it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK=no;
     8044  fi
     8045else
     8046  it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK=no;
     8047fi
     8048
     8049fi
     8050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK" >&5
     8051$as_echo "$it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK" >&6; }
     8052rm -f $CLASS *.class
     8053cd ..
     8054# should be rmdir but has to be rm -rf due to sun.applet usage
     8055rm -rf tmp.$$
     8056if test x"${it_cv_SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK}" = "xno"; then
     8057   as_fn_error $? "sun.net.www.protocol.jar.URLJarFileCallBack not found." "$LINENO" 5
     8058fi
     8059
     8060
     8061
     8062
     8063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.awt.X11.XEmbeddedFrame is available" >&5
     8064$as_echo_n "checking if sun.awt.X11.XEmbeddedFrame is available... " >&6; }
     8065if ${it_cv_SUN_AWT_X11_XEMBEDDEDFRAME+:} false; then :
     8066  $as_echo_n "(cached) " >&6
     8067else
     8068
     8069CLASS=sun/applet/Test.java
     8070BYTECODE=$(echo $CLASS|sed 's#\.java##')
     8071mkdir -p tmp.$$/$(dirname $CLASS)
     8072cd tmp.$$
     8073cat << \EOF > $CLASS
     8074/* [#]line 8074 "configure" */
    74058075package sun.applet;
    74068076
     
    74528122cd tmp.$$
    74538123cat << \EOF > $CLASS
    7454 /* [#]line 7454 "configure" */
     8124/* [#]line 8124 "configure" */
    74558125package sun.applet;
    74568126
     
    75028172cd tmp.$$
    75038173cat << \EOF > $CLASS
    7504 /* [#]line 7504 "configure" */
     8174/* [#]line 8174 "configure" */
    75058175package sun.applet;
    75068176
     
    75528222cd tmp.$$
    75538223cat << \EOF > $CLASS
    7554 /* [#]line 7554 "configure" */
     8224/* [#]line 8224 "configure" */
    75558225package sun.applet;
    75568226
     
    76028272cd tmp.$$
    76038273cat << \EOF > $CLASS
    7604 /* [#]line 7604 "configure" */
     8274/* [#]line 8274 "configure" */
    76058275import java.lang.reflect.Modifier;
    76068276
     
    76548324
    76558325
     8326
     8327pkg_failed=no
     8328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2_V_216" >&5
     8329$as_echo_n "checking for GLIB2_V_216... " >&6; }
     8330
     8331if test -n "$GLIB2_V_216_CFLAGS"; then
     8332    pkg_cv_GLIB2_V_216_CFLAGS="$GLIB2_V_216_CFLAGS"
     8333 elif test -n "$PKG_CONFIG"; then
     8334    if test -n "$PKG_CONFIG" && \
     8335    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
     8336  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
     8337  ac_status=$?
     8338  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     8339  test $ac_status = 0; }; then
     8340  pkg_cv_GLIB2_V_216_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
     8341else
     8342  pkg_failed=yes
     8343fi
     8344 else
     8345    pkg_failed=untried
     8346fi
     8347if test -n "$GLIB2_V_216_LIBS"; then
     8348    pkg_cv_GLIB2_V_216_LIBS="$GLIB2_V_216_LIBS"
     8349 elif test -n "$PKG_CONFIG"; then
     8350    if test -n "$PKG_CONFIG" && \
     8351    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
     8352  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
     8353  ac_status=$?
     8354  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     8355  test $ac_status = 0; }; then
     8356  pkg_cv_GLIB2_V_216_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
     8357else
     8358  pkg_failed=yes
     8359fi
     8360 else
     8361    pkg_failed=untried
     8362fi
     8363
     8364
     8365
     8366if test $pkg_failed = yes; then
     8367        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8368$as_echo "no" >&6; }
     8369
     8370if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     8371        _pkg_short_errors_supported=yes
     8372else
     8373        _pkg_short_errors_supported=no
     8374fi
     8375        if test $_pkg_short_errors_supported = yes; then
     8376                GLIB2_V_216_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.16" 2>&1`
     8377        else
     8378                GLIB2_V_216_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.16" 2>&1`
     8379        fi
     8380        # Put the nasty error message in config.log where it belongs
     8381        echo "$GLIB2_V_216_PKG_ERRORS" >&5
     8382
     8383        $as_echo "#define LEGACY_GLIB 1" >>confdefs.h
     8384
     8385elif test $pkg_failed = untried; then
     8386        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8387$as_echo "no" >&6; }
     8388        $as_echo "#define LEGACY_GLIB 1" >>confdefs.h
     8389
     8390else
     8391        GLIB2_V_216_CFLAGS=$pkg_cv_GLIB2_V_216_CFLAGS
     8392        GLIB2_V_216_LIBS=$pkg_cv_GLIB2_V_216_LIBS
     8393        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8394$as_echo "yes" >&6; }
     8395
     8396fi
     8397
     8398
     8399
     8400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for legacy xulrunner api" >&5
     8401$as_echo_n "checking for legacy xulrunner api... " >&6; }
     8402  ac_ext=cpp
     8403ac_cpp='$CXXCPP $CPPFLAGS'
     8404ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8405ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8406ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     8407
     8408  CXXFLAGS_BACKUP=$CXXFLAGS
     8409  CXXFLAGS=$CXXFLAGS" "$MOZILLA_CFLAGS
     8410  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8411/* end confdefs.h.  */
     8412
     8413    #include <npfunctions.h>
     8414    const  char* NP_GetMIMEDescription ()
     8415    {return (char*) "yap!";}
     8416
     8417int
     8418main ()
     8419{
     8420
     8421  ;
     8422  return 0;
     8423}
     8424_ACEOF
     8425if ac_fn_cxx_try_compile "$LINENO"; then :
     8426
     8427    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8428$as_echo "no" >&6; }
     8429
     8430else
     8431
     8432    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8433$as_echo "yes" >&6; }
     8434    $as_echo "#define LEGACY_XULRUNNERAPI 1" >>confdefs.h
     8435
     8436
     8437fi
     8438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8439  CXXFLAGS=$CXXFLAGS_BACKUP
     8440  ac_ext=c
     8441ac_cpp='$CPP $CPPFLAGS'
     8442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8444ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8445
     8446
     8447
    76568448#
    76578449# Find optional depedencies
    76588450#
     8451
     8452for ac_prog in xsltproc
     8453do
     8454  # Extract the first word of "$ac_prog", so it can be a program name with args.
     8455set dummy $ac_prog; ac_word=$2
     8456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8457$as_echo_n "checking for $ac_word... " >&6; }
     8458if ${ac_cv_prog_XSLTPROC+:} false; then :
     8459  $as_echo_n "(cached) " >&6
     8460else
     8461  if test -n "$XSLTPROC"; then
     8462  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
     8463else
     8464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8465for as_dir in $PATH
     8466do
     8467  IFS=$as_save_IFS
     8468  test -z "$as_dir" && as_dir=.
     8469    for ac_exec_ext in '' $ac_executable_extensions; do
     8470  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8471    ac_cv_prog_XSLTPROC="$ac_prog"
     8472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8473    break 2
     8474  fi
     8475done
     8476  done
     8477IFS=$as_save_IFS
     8478
     8479fi
     8480fi
     8481XSLTPROC=$ac_cv_prog_XSLTPROC
     8482if test -n "$XSLTPROC"; then
     8483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
     8484$as_echo "$XSLTPROC" >&6; }
     8485else
     8486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8487$as_echo "no" >&6; }
     8488fi
     8489
     8490
     8491  test -n "$XSLTPROC" && break
     8492done
     8493
     8494# browser to be linked/tested
     8495# Example: IT_FIND_BROWSER([browser-name],[variable-to-store-path],[default-run-command-if-different-from-the-browser-name])
     8496
     8497
     8498# Check whether --with-firefox was given.
     8499if test "${with_firefox+set}" = set; then :
     8500  withval=$with_firefox;
     8501   if test "${withval}" = "no" || test "${withval}" = "yes" || test "${withval}" = "" ; then
     8502    FIREFOX=""
     8503   elif test -f "${withval}" ; then
     8504    FIREFOX="${withval}"
     8505   else
     8506    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox" >&5
     8507$as_echo_n "checking for firefox... " >&6; }
     8508    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
     8509$as_echo "not found" >&6; }
     8510    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8512as_fn_error $? "invalid location specified to firefox: ${withval}
     8513See \`config.log' for more details" "$LINENO" 5; }
     8514   fi
     8515
     8516else
     8517
     8518   withval="yes"
     8519
     8520fi
     8521
     8522
     8523  if test -f "${FIREFOX}"; then
     8524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox" >&5
     8525$as_echo_n "checking for firefox... " >&6; }
     8526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FIREFOX}" >&5
     8527$as_echo "${FIREFOX}" >&6; }
     8528  elif test "${withval}" != "no"; then
     8529   if test 2 -gt 2; then
     8530    if test -n "$ac_tool_prefix"; then
     8531  # Extract the first word of "${ac_tool_prefix}", so it can be a program name with args.
     8532set dummy ${ac_tool_prefix}; ac_word=$2
     8533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8534$as_echo_n "checking for $ac_word... " >&6; }
     8535if ${ac_cv_path_FIREFOX+:} false; then :
     8536  $as_echo_n "(cached) " >&6
     8537else
     8538  case $FIREFOX in
     8539  [\\/]* | ?:[\\/]*)
     8540  ac_cv_path_FIREFOX="$FIREFOX" # Let the user override the test with a path.
     8541  ;;
     8542  *)
     8543  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8544for as_dir in $PATH
     8545do
     8546  IFS=$as_save_IFS
     8547  test -z "$as_dir" && as_dir=.
     8548    for ac_exec_ext in '' $ac_executable_extensions; do
     8549  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8550    ac_cv_path_FIREFOX="$as_dir/$ac_word$ac_exec_ext"
     8551    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8552    break 2
     8553  fi
     8554done
     8555  done
     8556IFS=$as_save_IFS
     8557
     8558  ;;
     8559esac
     8560fi
     8561FIREFOX=$ac_cv_path_FIREFOX
     8562if test -n "$FIREFOX"; then
     8563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIREFOX" >&5
     8564$as_echo "$FIREFOX" >&6; }
     8565else
     8566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8567$as_echo "no" >&6; }
     8568fi
     8569
     8570
     8571fi
     8572if test -z "$ac_cv_path_FIREFOX"; then
     8573  ac_pt_FIREFOX=$FIREFOX
     8574  # Extract the first word of "", so it can be a program name with args.
     8575set dummy ; ac_word=$2
     8576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8577$as_echo_n "checking for $ac_word... " >&6; }
     8578if ${ac_cv_path_ac_pt_FIREFOX+:} false; then :
     8579  $as_echo_n "(cached) " >&6
     8580else
     8581  case $ac_pt_FIREFOX in
     8582  [\\/]* | ?:[\\/]*)
     8583  ac_cv_path_ac_pt_FIREFOX="$ac_pt_FIREFOX" # Let the user override the test with a path.
     8584  ;;
     8585  *)
     8586  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8587for as_dir in $PATH
     8588do
     8589  IFS=$as_save_IFS
     8590  test -z "$as_dir" && as_dir=.
     8591    for ac_exec_ext in '' $ac_executable_extensions; do
     8592  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8593    ac_cv_path_ac_pt_FIREFOX="$as_dir/$ac_word$ac_exec_ext"
     8594    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8595    break 2
     8596  fi
     8597done
     8598  done
     8599IFS=$as_save_IFS
     8600
     8601  ;;
     8602esac
     8603fi
     8604ac_pt_FIREFOX=$ac_cv_path_ac_pt_FIREFOX
     8605if test -n "$ac_pt_FIREFOX"; then
     8606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_FIREFOX" >&5
     8607$as_echo "$ac_pt_FIREFOX" >&6; }
     8608else
     8609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8610$as_echo "no" >&6; }
     8611fi
     8612
     8613  if test "x$ac_pt_FIREFOX" = x; then
     8614    FIREFOX=""
     8615  else
     8616    case $cross_compiling:$ac_tool_warned in
     8617yes:)
     8618{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8620ac_tool_warned=yes ;;
     8621esac
     8622    FIREFOX=$ac_pt_FIREFOX
     8623  fi
     8624else
     8625  FIREFOX="$ac_cv_path_FIREFOX"
     8626fi
     8627
     8628   else
     8629    if test -n "$ac_tool_prefix"; then
     8630  # Extract the first word of "${ac_tool_prefix}firefox", so it can be a program name with args.
     8631set dummy ${ac_tool_prefix}firefox; ac_word=$2
     8632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8633$as_echo_n "checking for $ac_word... " >&6; }
     8634if ${ac_cv_path_FIREFOX+:} false; then :
     8635  $as_echo_n "(cached) " >&6
     8636else
     8637  case $FIREFOX in
     8638  [\\/]* | ?:[\\/]*)
     8639  ac_cv_path_FIREFOX="$FIREFOX" # Let the user override the test with a path.
     8640  ;;
     8641  *)
     8642  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8643for as_dir in $PATH
     8644do
     8645  IFS=$as_save_IFS
     8646  test -z "$as_dir" && as_dir=.
     8647    for ac_exec_ext in '' $ac_executable_extensions; do
     8648  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8649    ac_cv_path_FIREFOX="$as_dir/$ac_word$ac_exec_ext"
     8650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8651    break 2
     8652  fi
     8653done
     8654  done
     8655IFS=$as_save_IFS
     8656
     8657  ;;
     8658esac
     8659fi
     8660FIREFOX=$ac_cv_path_FIREFOX
     8661if test -n "$FIREFOX"; then
     8662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIREFOX" >&5
     8663$as_echo "$FIREFOX" >&6; }
     8664else
     8665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8666$as_echo "no" >&6; }
     8667fi
     8668
     8669
     8670fi
     8671if test -z "$ac_cv_path_FIREFOX"; then
     8672  ac_pt_FIREFOX=$FIREFOX
     8673  # Extract the first word of "firefox", so it can be a program name with args.
     8674set dummy firefox; ac_word=$2
     8675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8676$as_echo_n "checking for $ac_word... " >&6; }
     8677if ${ac_cv_path_ac_pt_FIREFOX+:} false; then :
     8678  $as_echo_n "(cached) " >&6
     8679else
     8680  case $ac_pt_FIREFOX in
     8681  [\\/]* | ?:[\\/]*)
     8682  ac_cv_path_ac_pt_FIREFOX="$ac_pt_FIREFOX" # Let the user override the test with a path.
     8683  ;;
     8684  *)
     8685  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8686for as_dir in $PATH
     8687do
     8688  IFS=$as_save_IFS
     8689  test -z "$as_dir" && as_dir=.
     8690    for ac_exec_ext in '' $ac_executable_extensions; do
     8691  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8692    ac_cv_path_ac_pt_FIREFOX="$as_dir/$ac_word$ac_exec_ext"
     8693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8694    break 2
     8695  fi
     8696done
     8697  done
     8698IFS=$as_save_IFS
     8699
     8700  ;;
     8701esac
     8702fi
     8703ac_pt_FIREFOX=$ac_cv_path_ac_pt_FIREFOX
     8704if test -n "$ac_pt_FIREFOX"; then
     8705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_FIREFOX" >&5
     8706$as_echo "$ac_pt_FIREFOX" >&6; }
     8707else
     8708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8709$as_echo "no" >&6; }
     8710fi
     8711
     8712  if test "x$ac_pt_FIREFOX" = x; then
     8713    FIREFOX=""
     8714  else
     8715    case $cross_compiling:$ac_tool_warned in
     8716yes:)
     8717{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8718$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8719ac_tool_warned=yes ;;
     8720esac
     8721    FIREFOX=$ac_pt_FIREFOX
     8722  fi
     8723else
     8724  FIREFOX="$ac_cv_path_FIREFOX"
     8725fi
     8726
     8727   fi
     8728  else
     8729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox" >&5
     8730$as_echo_n "checking for firefox... " >&6; }
     8731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8732$as_echo "no" >&6; }
     8733  fi
     8734
     8735
     8736
     8737# Check whether --with-chrome was given.
     8738if test "${with_chrome+set}" = set; then :
     8739  withval=$with_chrome;
     8740   if test "${withval}" = "no" || test "${withval}" = "yes" || test "${withval}" = "" ; then
     8741    CHROME=""
     8742   elif test -f "${withval}" ; then
     8743    CHROME="${withval}"
     8744   else
     8745    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chrome" >&5
     8746$as_echo_n "checking for chrome... " >&6; }
     8747    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
     8748$as_echo "not found" >&6; }
     8749    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8750$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8751as_fn_error $? "invalid location specified to chrome: ${withval}
     8752See \`config.log' for more details" "$LINENO" 5; }
     8753   fi
     8754
     8755else
     8756
     8757   withval="yes"
     8758
     8759fi
     8760
     8761
     8762  if test -f "${CHROME}"; then
     8763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chrome" >&5
     8764$as_echo_n "checking for chrome... " >&6; }
     8765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CHROME}" >&5
     8766$as_echo "${CHROME}" >&6; }
     8767  elif test "${withval}" != "no"; then
     8768   if test 3 -gt 2; then
     8769    if test -n "$ac_tool_prefix"; then
     8770  # Extract the first word of "${ac_tool_prefix}google-chrome", so it can be a program name with args.
     8771set dummy ${ac_tool_prefix}google-chrome; ac_word=$2
     8772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8773$as_echo_n "checking for $ac_word... " >&6; }
     8774if ${ac_cv_path_CHROME+:} false; then :
     8775  $as_echo_n "(cached) " >&6
     8776else
     8777  case $CHROME in
     8778  [\\/]* | ?:[\\/]*)
     8779  ac_cv_path_CHROME="$CHROME" # Let the user override the test with a path.
     8780  ;;
     8781  *)
     8782  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8783for as_dir in $PATH
     8784do
     8785  IFS=$as_save_IFS
     8786  test -z "$as_dir" && as_dir=.
     8787    for ac_exec_ext in '' $ac_executable_extensions; do
     8788  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8789    ac_cv_path_CHROME="$as_dir/$ac_word$ac_exec_ext"
     8790    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8791    break 2
     8792  fi
     8793done
     8794  done
     8795IFS=$as_save_IFS
     8796
     8797  ;;
     8798esac
     8799fi
     8800CHROME=$ac_cv_path_CHROME
     8801if test -n "$CHROME"; then
     8802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHROME" >&5
     8803$as_echo "$CHROME" >&6; }
     8804else
     8805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8806$as_echo "no" >&6; }
     8807fi
     8808
     8809
     8810fi
     8811if test -z "$ac_cv_path_CHROME"; then
     8812  ac_pt_CHROME=$CHROME
     8813  # Extract the first word of "google-chrome", so it can be a program name with args.
     8814set dummy google-chrome; ac_word=$2
     8815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8816$as_echo_n "checking for $ac_word... " >&6; }
     8817if ${ac_cv_path_ac_pt_CHROME+:} false; then :
     8818  $as_echo_n "(cached) " >&6
     8819else
     8820  case $ac_pt_CHROME in
     8821  [\\/]* | ?:[\\/]*)
     8822  ac_cv_path_ac_pt_CHROME="$ac_pt_CHROME" # Let the user override the test with a path.
     8823  ;;
     8824  *)
     8825  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8826for as_dir in $PATH
     8827do
     8828  IFS=$as_save_IFS
     8829  test -z "$as_dir" && as_dir=.
     8830    for ac_exec_ext in '' $ac_executable_extensions; do
     8831  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8832    ac_cv_path_ac_pt_CHROME="$as_dir/$ac_word$ac_exec_ext"
     8833    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8834    break 2
     8835  fi
     8836done
     8837  done
     8838IFS=$as_save_IFS
     8839
     8840  ;;
     8841esac
     8842fi
     8843ac_pt_CHROME=$ac_cv_path_ac_pt_CHROME
     8844if test -n "$ac_pt_CHROME"; then
     8845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CHROME" >&5
     8846$as_echo "$ac_pt_CHROME" >&6; }
     8847else
     8848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8849$as_echo "no" >&6; }
     8850fi
     8851
     8852  if test "x$ac_pt_CHROME" = x; then
     8853    CHROME=""
     8854  else
     8855    case $cross_compiling:$ac_tool_warned in
     8856yes:)
     8857{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8858$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8859ac_tool_warned=yes ;;
     8860esac
     8861    CHROME=$ac_pt_CHROME
     8862  fi
     8863else
     8864  CHROME="$ac_cv_path_CHROME"
     8865fi
     8866
     8867   else
     8868    if test -n "$ac_tool_prefix"; then
     8869  # Extract the first word of "${ac_tool_prefix}chrome", so it can be a program name with args.
     8870set dummy ${ac_tool_prefix}chrome; ac_word=$2
     8871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8872$as_echo_n "checking for $ac_word... " >&6; }
     8873if ${ac_cv_path_CHROME+:} false; then :
     8874  $as_echo_n "(cached) " >&6
     8875else
     8876  case $CHROME in
     8877  [\\/]* | ?:[\\/]*)
     8878  ac_cv_path_CHROME="$CHROME" # Let the user override the test with a path.
     8879  ;;
     8880  *)
     8881  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8882for as_dir in $PATH
     8883do
     8884  IFS=$as_save_IFS
     8885  test -z "$as_dir" && as_dir=.
     8886    for ac_exec_ext in '' $ac_executable_extensions; do
     8887  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8888    ac_cv_path_CHROME="$as_dir/$ac_word$ac_exec_ext"
     8889    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8890    break 2
     8891  fi
     8892done
     8893  done
     8894IFS=$as_save_IFS
     8895
     8896  ;;
     8897esac
     8898fi
     8899CHROME=$ac_cv_path_CHROME
     8900if test -n "$CHROME"; then
     8901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHROME" >&5
     8902$as_echo "$CHROME" >&6; }
     8903else
     8904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8905$as_echo "no" >&6; }
     8906fi
     8907
     8908
     8909fi
     8910if test -z "$ac_cv_path_CHROME"; then
     8911  ac_pt_CHROME=$CHROME
     8912  # Extract the first word of "chrome", so it can be a program name with args.
     8913set dummy chrome; ac_word=$2
     8914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8915$as_echo_n "checking for $ac_word... " >&6; }
     8916if ${ac_cv_path_ac_pt_CHROME+:} false; then :
     8917  $as_echo_n "(cached) " >&6
     8918else
     8919  case $ac_pt_CHROME in
     8920  [\\/]* | ?:[\\/]*)
     8921  ac_cv_path_ac_pt_CHROME="$ac_pt_CHROME" # Let the user override the test with a path.
     8922  ;;
     8923  *)
     8924  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8925for as_dir in $PATH
     8926do
     8927  IFS=$as_save_IFS
     8928  test -z "$as_dir" && as_dir=.
     8929    for ac_exec_ext in '' $ac_executable_extensions; do
     8930  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8931    ac_cv_path_ac_pt_CHROME="$as_dir/$ac_word$ac_exec_ext"
     8932    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8933    break 2
     8934  fi
     8935done
     8936  done
     8937IFS=$as_save_IFS
     8938
     8939  ;;
     8940esac
     8941fi
     8942ac_pt_CHROME=$ac_cv_path_ac_pt_CHROME
     8943if test -n "$ac_pt_CHROME"; then
     8944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CHROME" >&5
     8945$as_echo "$ac_pt_CHROME" >&6; }
     8946else
     8947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8948$as_echo "no" >&6; }
     8949fi
     8950
     8951  if test "x$ac_pt_CHROME" = x; then
     8952    CHROME=""
     8953  else
     8954    case $cross_compiling:$ac_tool_warned in
     8955yes:)
     8956{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8957$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8958ac_tool_warned=yes ;;
     8959esac
     8960    CHROME=$ac_pt_CHROME
     8961  fi
     8962else
     8963  CHROME="$ac_cv_path_CHROME"
     8964fi
     8965
     8966   fi
     8967  else
     8968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chrome" >&5
     8969$as_echo_n "checking for chrome... " >&6; }
     8970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8971$as_echo "no" >&6; }
     8972  fi
     8973
     8974
     8975
     8976# Check whether --with-chromium was given.
     8977if test "${with_chromium+set}" = set; then :
     8978  withval=$with_chromium;
     8979   if test "${withval}" = "no" || test "${withval}" = "yes" || test "${withval}" = "" ; then
     8980    CHROMIUM=""
     8981   elif test -f "${withval}" ; then
     8982    CHROMIUM="${withval}"
     8983   else
     8984    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chromium" >&5
     8985$as_echo_n "checking for chromium... " >&6; }
     8986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
     8987$as_echo "not found" >&6; }
     8988    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8989$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8990as_fn_error $? "invalid location specified to chromium: ${withval}
     8991See \`config.log' for more details" "$LINENO" 5; }
     8992   fi
     8993
     8994else
     8995
     8996   withval="yes"
     8997
     8998fi
     8999
     9000
     9001  if test -f "${CHROMIUM}"; then
     9002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chromium" >&5
     9003$as_echo_n "checking for chromium... " >&6; }
     9004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CHROMIUM}" >&5
     9005$as_echo "${CHROMIUM}" >&6; }
     9006  elif test "${withval}" != "no"; then
     9007   if test 3 -gt 2; then
     9008    if test -n "$ac_tool_prefix"; then
     9009  # Extract the first word of "${ac_tool_prefix}chromium-browser", so it can be a program name with args.
     9010set dummy ${ac_tool_prefix}chromium-browser; ac_word=$2
     9011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9012$as_echo_n "checking for $ac_word... " >&6; }
     9013if ${ac_cv_path_CHROMIUM+:} false; then :
     9014  $as_echo_n "(cached) " >&6
     9015else
     9016  case $CHROMIUM in
     9017  [\\/]* | ?:[\\/]*)
     9018  ac_cv_path_CHROMIUM="$CHROMIUM" # Let the user override the test with a path.
     9019  ;;
     9020  *)
     9021  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9022for as_dir in $PATH
     9023do
     9024  IFS=$as_save_IFS
     9025  test -z "$as_dir" && as_dir=.
     9026    for ac_exec_ext in '' $ac_executable_extensions; do
     9027  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9028    ac_cv_path_CHROMIUM="$as_dir/$ac_word$ac_exec_ext"
     9029    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9030    break 2
     9031  fi
     9032done
     9033  done
     9034IFS=$as_save_IFS
     9035
     9036  ;;
     9037esac
     9038fi
     9039CHROMIUM=$ac_cv_path_CHROMIUM
     9040if test -n "$CHROMIUM"; then
     9041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHROMIUM" >&5
     9042$as_echo "$CHROMIUM" >&6; }
     9043else
     9044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9045$as_echo "no" >&6; }
     9046fi
     9047
     9048
     9049fi
     9050if test -z "$ac_cv_path_CHROMIUM"; then
     9051  ac_pt_CHROMIUM=$CHROMIUM
     9052  # Extract the first word of "chromium-browser", so it can be a program name with args.
     9053set dummy chromium-browser; ac_word=$2
     9054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9055$as_echo_n "checking for $ac_word... " >&6; }
     9056if ${ac_cv_path_ac_pt_CHROMIUM+:} false; then :
     9057  $as_echo_n "(cached) " >&6
     9058else
     9059  case $ac_pt_CHROMIUM in
     9060  [\\/]* | ?:[\\/]*)
     9061  ac_cv_path_ac_pt_CHROMIUM="$ac_pt_CHROMIUM" # Let the user override the test with a path.
     9062  ;;
     9063  *)
     9064  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9065for as_dir in $PATH
     9066do
     9067  IFS=$as_save_IFS
     9068  test -z "$as_dir" && as_dir=.
     9069    for ac_exec_ext in '' $ac_executable_extensions; do
     9070  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9071    ac_cv_path_ac_pt_CHROMIUM="$as_dir/$ac_word$ac_exec_ext"
     9072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9073    break 2
     9074  fi
     9075done
     9076  done
     9077IFS=$as_save_IFS
     9078
     9079  ;;
     9080esac
     9081fi
     9082ac_pt_CHROMIUM=$ac_cv_path_ac_pt_CHROMIUM
     9083if test -n "$ac_pt_CHROMIUM"; then
     9084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CHROMIUM" >&5
     9085$as_echo "$ac_pt_CHROMIUM" >&6; }
     9086else
     9087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9088$as_echo "no" >&6; }
     9089fi
     9090
     9091  if test "x$ac_pt_CHROMIUM" = x; then
     9092    CHROMIUM=""
     9093  else
     9094    case $cross_compiling:$ac_tool_warned in
     9095yes:)
     9096{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9097$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9098ac_tool_warned=yes ;;
     9099esac
     9100    CHROMIUM=$ac_pt_CHROMIUM
     9101  fi
     9102else
     9103  CHROMIUM="$ac_cv_path_CHROMIUM"
     9104fi
     9105
     9106   else
     9107    if test -n "$ac_tool_prefix"; then
     9108  # Extract the first word of "${ac_tool_prefix}chromium", so it can be a program name with args.
     9109set dummy ${ac_tool_prefix}chromium; ac_word=$2
     9110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9111$as_echo_n "checking for $ac_word... " >&6; }
     9112if ${ac_cv_path_CHROMIUM+:} false; then :
     9113  $as_echo_n "(cached) " >&6
     9114else
     9115  case $CHROMIUM in
     9116  [\\/]* | ?:[\\/]*)
     9117  ac_cv_path_CHROMIUM="$CHROMIUM" # Let the user override the test with a path.
     9118  ;;
     9119  *)
     9120  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9121for as_dir in $PATH
     9122do
     9123  IFS=$as_save_IFS
     9124  test -z "$as_dir" && as_dir=.
     9125    for ac_exec_ext in '' $ac_executable_extensions; do
     9126  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9127    ac_cv_path_CHROMIUM="$as_dir/$ac_word$ac_exec_ext"
     9128    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9129    break 2
     9130  fi
     9131done
     9132  done
     9133IFS=$as_save_IFS
     9134
     9135  ;;
     9136esac
     9137fi
     9138CHROMIUM=$ac_cv_path_CHROMIUM
     9139if test -n "$CHROMIUM"; then
     9140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHROMIUM" >&5
     9141$as_echo "$CHROMIUM" >&6; }
     9142else
     9143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9144$as_echo "no" >&6; }
     9145fi
     9146
     9147
     9148fi
     9149if test -z "$ac_cv_path_CHROMIUM"; then
     9150  ac_pt_CHROMIUM=$CHROMIUM
     9151  # Extract the first word of "chromium", so it can be a program name with args.
     9152set dummy chromium; ac_word=$2
     9153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9154$as_echo_n "checking for $ac_word... " >&6; }
     9155if ${ac_cv_path_ac_pt_CHROMIUM+:} false; then :
     9156  $as_echo_n "(cached) " >&6
     9157else
     9158  case $ac_pt_CHROMIUM in
     9159  [\\/]* | ?:[\\/]*)
     9160  ac_cv_path_ac_pt_CHROMIUM="$ac_pt_CHROMIUM" # Let the user override the test with a path.
     9161  ;;
     9162  *)
     9163  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9164for as_dir in $PATH
     9165do
     9166  IFS=$as_save_IFS
     9167  test -z "$as_dir" && as_dir=.
     9168    for ac_exec_ext in '' $ac_executable_extensions; do
     9169  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9170    ac_cv_path_ac_pt_CHROMIUM="$as_dir/$ac_word$ac_exec_ext"
     9171    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9172    break 2
     9173  fi
     9174done
     9175  done
     9176IFS=$as_save_IFS
     9177
     9178  ;;
     9179esac
     9180fi
     9181ac_pt_CHROMIUM=$ac_cv_path_ac_pt_CHROMIUM
     9182if test -n "$ac_pt_CHROMIUM"; then
     9183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CHROMIUM" >&5
     9184$as_echo "$ac_pt_CHROMIUM" >&6; }
     9185else
     9186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9187$as_echo "no" >&6; }
     9188fi
     9189
     9190  if test "x$ac_pt_CHROMIUM" = x; then
     9191    CHROMIUM=""
     9192  else
     9193    case $cross_compiling:$ac_tool_warned in
     9194yes:)
     9195{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9196$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9197ac_tool_warned=yes ;;
     9198esac
     9199    CHROMIUM=$ac_pt_CHROMIUM
     9200  fi
     9201else
     9202  CHROMIUM="$ac_cv_path_CHROMIUM"
     9203fi
     9204
     9205   fi
     9206  else
     9207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chromium" >&5
     9208$as_echo_n "checking for chromium... " >&6; }
     9209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9210$as_echo "no" >&6; }
     9211  fi
     9212
     9213
     9214
     9215# Check whether --with-opera was given.
     9216if test "${with_opera+set}" = set; then :
     9217  withval=$with_opera;
     9218   if test "${withval}" = "no" || test "${withval}" = "yes" || test "${withval}" = "" ; then
     9219    OPERA=""
     9220   elif test -f "${withval}" ; then
     9221    OPERA="${withval}"
     9222   else
     9223    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opera" >&5
     9224$as_echo_n "checking for opera... " >&6; }
     9225    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
     9226$as_echo "not found" >&6; }
     9227    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9228$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     9229as_fn_error $? "invalid location specified to opera: ${withval}
     9230See \`config.log' for more details" "$LINENO" 5; }
     9231   fi
     9232
     9233else
     9234
     9235   withval="yes"
     9236
     9237fi
     9238
     9239
     9240  if test -f "${OPERA}"; then
     9241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opera" >&5
     9242$as_echo_n "checking for opera... " >&6; }
     9243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${OPERA}" >&5
     9244$as_echo "${OPERA}" >&6; }
     9245  elif test "${withval}" != "no"; then
     9246   if test 2 -gt 2; then
     9247    if test -n "$ac_tool_prefix"; then
     9248  # Extract the first word of "${ac_tool_prefix}", so it can be a program name with args.
     9249set dummy ${ac_tool_prefix}; ac_word=$2
     9250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9251$as_echo_n "checking for $ac_word... " >&6; }
     9252if ${ac_cv_path_OPERA+:} false; then :
     9253  $as_echo_n "(cached) " >&6
     9254else
     9255  case $OPERA in
     9256  [\\/]* | ?:[\\/]*)
     9257  ac_cv_path_OPERA="$OPERA" # Let the user override the test with a path.
     9258  ;;
     9259  *)
     9260  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9261for as_dir in $PATH
     9262do
     9263  IFS=$as_save_IFS
     9264  test -z "$as_dir" && as_dir=.
     9265    for ac_exec_ext in '' $ac_executable_extensions; do
     9266  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9267    ac_cv_path_OPERA="$as_dir/$ac_word$ac_exec_ext"
     9268    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9269    break 2
     9270  fi
     9271done
     9272  done
     9273IFS=$as_save_IFS
     9274
     9275  ;;
     9276esac
     9277fi
     9278OPERA=$ac_cv_path_OPERA
     9279if test -n "$OPERA"; then
     9280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPERA" >&5
     9281$as_echo "$OPERA" >&6; }
     9282else
     9283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9284$as_echo "no" >&6; }
     9285fi
     9286
     9287
     9288fi
     9289if test -z "$ac_cv_path_OPERA"; then
     9290  ac_pt_OPERA=$OPERA
     9291  # Extract the first word of "", so it can be a program name with args.
     9292set dummy ; ac_word=$2
     9293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9294$as_echo_n "checking for $ac_word... " >&6; }
     9295if ${ac_cv_path_ac_pt_OPERA+:} false; then :
     9296  $as_echo_n "(cached) " >&6
     9297else
     9298  case $ac_pt_OPERA in
     9299  [\\/]* | ?:[\\/]*)
     9300  ac_cv_path_ac_pt_OPERA="$ac_pt_OPERA" # Let the user override the test with a path.
     9301  ;;
     9302  *)
     9303  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9304for as_dir in $PATH
     9305do
     9306  IFS=$as_save_IFS
     9307  test -z "$as_dir" && as_dir=.
     9308    for ac_exec_ext in '' $ac_executable_extensions; do
     9309  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9310    ac_cv_path_ac_pt_OPERA="$as_dir/$ac_word$ac_exec_ext"
     9311    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9312    break 2
     9313  fi
     9314done
     9315  done
     9316IFS=$as_save_IFS
     9317
     9318  ;;
     9319esac
     9320fi
     9321ac_pt_OPERA=$ac_cv_path_ac_pt_OPERA
     9322if test -n "$ac_pt_OPERA"; then
     9323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OPERA" >&5
     9324$as_echo "$ac_pt_OPERA" >&6; }
     9325else
     9326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9327$as_echo "no" >&6; }
     9328fi
     9329
     9330  if test "x$ac_pt_OPERA" = x; then
     9331    OPERA=""
     9332  else
     9333    case $cross_compiling:$ac_tool_warned in
     9334yes:)
     9335{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9336$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9337ac_tool_warned=yes ;;
     9338esac
     9339    OPERA=$ac_pt_OPERA
     9340  fi
     9341else
     9342  OPERA="$ac_cv_path_OPERA"
     9343fi
     9344
     9345   else
     9346    if test -n "$ac_tool_prefix"; then
     9347  # Extract the first word of "${ac_tool_prefix}opera", so it can be a program name with args.
     9348set dummy ${ac_tool_prefix}opera; ac_word=$2
     9349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9350$as_echo_n "checking for $ac_word... " >&6; }
     9351if ${ac_cv_path_OPERA+:} false; then :
     9352  $as_echo_n "(cached) " >&6
     9353else
     9354  case $OPERA in
     9355  [\\/]* | ?:[\\/]*)
     9356  ac_cv_path_OPERA="$OPERA" # Let the user override the test with a path.
     9357  ;;
     9358  *)
     9359  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9360for as_dir in $PATH
     9361do
     9362  IFS=$as_save_IFS
     9363  test -z "$as_dir" && as_dir=.
     9364    for ac_exec_ext in '' $ac_executable_extensions; do
     9365  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9366    ac_cv_path_OPERA="$as_dir/$ac_word$ac_exec_ext"
     9367    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9368    break 2
     9369  fi
     9370done
     9371  done
     9372IFS=$as_save_IFS
     9373
     9374  ;;
     9375esac
     9376fi
     9377OPERA=$ac_cv_path_OPERA
     9378if test -n "$OPERA"; then
     9379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPERA" >&5
     9380$as_echo "$OPERA" >&6; }
     9381else
     9382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9383$as_echo "no" >&6; }
     9384fi
     9385
     9386
     9387fi
     9388if test -z "$ac_cv_path_OPERA"; then
     9389  ac_pt_OPERA=$OPERA
     9390  # Extract the first word of "opera", so it can be a program name with args.
     9391set dummy opera; ac_word=$2
     9392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9393$as_echo_n "checking for $ac_word... " >&6; }
     9394if ${ac_cv_path_ac_pt_OPERA+:} false; then :
     9395  $as_echo_n "(cached) " >&6
     9396else
     9397  case $ac_pt_OPERA in
     9398  [\\/]* | ?:[\\/]*)
     9399  ac_cv_path_ac_pt_OPERA="$ac_pt_OPERA" # Let the user override the test with a path.
     9400  ;;
     9401  *)
     9402  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9403for as_dir in $PATH
     9404do
     9405  IFS=$as_save_IFS
     9406  test -z "$as_dir" && as_dir=.
     9407    for ac_exec_ext in '' $ac_executable_extensions; do
     9408  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9409    ac_cv_path_ac_pt_OPERA="$as_dir/$ac_word$ac_exec_ext"
     9410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9411    break 2
     9412  fi
     9413done
     9414  done
     9415IFS=$as_save_IFS
     9416
     9417  ;;
     9418esac
     9419fi
     9420ac_pt_OPERA=$ac_cv_path_ac_pt_OPERA
     9421if test -n "$ac_pt_OPERA"; then
     9422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OPERA" >&5
     9423$as_echo "$ac_pt_OPERA" >&6; }
     9424else
     9425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9426$as_echo "no" >&6; }
     9427fi
     9428
     9429  if test "x$ac_pt_OPERA" = x; then
     9430    OPERA=""
     9431  else
     9432    case $cross_compiling:$ac_tool_warned in
     9433yes:)
     9434{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9435$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9436ac_tool_warned=yes ;;
     9437esac
     9438    OPERA=$ac_pt_OPERA
     9439  fi
     9440else
     9441  OPERA="$ac_cv_path_OPERA"
     9442fi
     9443
     9444   fi
     9445  else
     9446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opera" >&5
     9447$as_echo_n "checking for opera... " >&6; }
     9448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9449$as_echo "no" >&6; }
     9450  fi
     9451
     9452
     9453
     9454# Check whether --with-midori was given.
     9455if test "${with_midori+set}" = set; then :
     9456  withval=$with_midori;
     9457   if test "${withval}" = "no" || test "${withval}" = "yes" || test "${withval}" = "" ; then
     9458    MIDORI=""
     9459   elif test -f "${withval}" ; then
     9460    MIDORI="${withval}"
     9461   else
     9462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for midori" >&5
     9463$as_echo_n "checking for midori... " >&6; }
     9464    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
     9465$as_echo "not found" >&6; }
     9466    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9467$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     9468as_fn_error $? "invalid location specified to midori: ${withval}
     9469See \`config.log' for more details" "$LINENO" 5; }
     9470   fi
     9471
     9472else
     9473
     9474   withval="yes"
     9475
     9476fi
     9477
     9478
     9479  if test -f "${MIDORI}"; then
     9480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for midori" >&5
     9481$as_echo_n "checking for midori... " >&6; }
     9482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MIDORI}" >&5
     9483$as_echo "${MIDORI}" >&6; }
     9484  elif test "${withval}" != "no"; then
     9485   if test 2 -gt 2; then
     9486    if test -n "$ac_tool_prefix"; then
     9487  # Extract the first word of "${ac_tool_prefix}", so it can be a program name with args.
     9488set dummy ${ac_tool_prefix}; ac_word=$2
     9489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9490$as_echo_n "checking for $ac_word... " >&6; }
     9491if ${ac_cv_path_MIDORI+:} false; then :
     9492  $as_echo_n "(cached) " >&6
     9493else
     9494  case $MIDORI in
     9495  [\\/]* | ?:[\\/]*)
     9496  ac_cv_path_MIDORI="$MIDORI" # Let the user override the test with a path.
     9497  ;;
     9498  *)
     9499  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9500for as_dir in $PATH
     9501do
     9502  IFS=$as_save_IFS
     9503  test -z "$as_dir" && as_dir=.
     9504    for ac_exec_ext in '' $ac_executable_extensions; do
     9505  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9506    ac_cv_path_MIDORI="$as_dir/$ac_word$ac_exec_ext"
     9507    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9508    break 2
     9509  fi
     9510done
     9511  done
     9512IFS=$as_save_IFS
     9513
     9514  ;;
     9515esac
     9516fi
     9517MIDORI=$ac_cv_path_MIDORI
     9518if test -n "$MIDORI"; then
     9519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDORI" >&5
     9520$as_echo "$MIDORI" >&6; }
     9521else
     9522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9523$as_echo "no" >&6; }
     9524fi
     9525
     9526
     9527fi
     9528if test -z "$ac_cv_path_MIDORI"; then
     9529  ac_pt_MIDORI=$MIDORI
     9530  # Extract the first word of "", so it can be a program name with args.
     9531set dummy ; ac_word=$2
     9532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9533$as_echo_n "checking for $ac_word... " >&6; }
     9534if ${ac_cv_path_ac_pt_MIDORI+:} false; then :
     9535  $as_echo_n "(cached) " >&6
     9536else
     9537  case $ac_pt_MIDORI in
     9538  [\\/]* | ?:[\\/]*)
     9539  ac_cv_path_ac_pt_MIDORI="$ac_pt_MIDORI" # Let the user override the test with a path.
     9540  ;;
     9541  *)
     9542  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9543for as_dir in $PATH
     9544do
     9545  IFS=$as_save_IFS
     9546  test -z "$as_dir" && as_dir=.
     9547    for ac_exec_ext in '' $ac_executable_extensions; do
     9548  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9549    ac_cv_path_ac_pt_MIDORI="$as_dir/$ac_word$ac_exec_ext"
     9550    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9551    break 2
     9552  fi
     9553done
     9554  done
     9555IFS=$as_save_IFS
     9556
     9557  ;;
     9558esac
     9559fi
     9560ac_pt_MIDORI=$ac_cv_path_ac_pt_MIDORI
     9561if test -n "$ac_pt_MIDORI"; then
     9562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MIDORI" >&5
     9563$as_echo "$ac_pt_MIDORI" >&6; }
     9564else
     9565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9566$as_echo "no" >&6; }
     9567fi
     9568
     9569  if test "x$ac_pt_MIDORI" = x; then
     9570    MIDORI=""
     9571  else
     9572    case $cross_compiling:$ac_tool_warned in
     9573yes:)
     9574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9576ac_tool_warned=yes ;;
     9577esac
     9578    MIDORI=$ac_pt_MIDORI
     9579  fi
     9580else
     9581  MIDORI="$ac_cv_path_MIDORI"
     9582fi
     9583
     9584   else
     9585    if test -n "$ac_tool_prefix"; then
     9586  # Extract the first word of "${ac_tool_prefix}midori", so it can be a program name with args.
     9587set dummy ${ac_tool_prefix}midori; ac_word=$2
     9588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9589$as_echo_n "checking for $ac_word... " >&6; }
     9590if ${ac_cv_path_MIDORI+:} false; then :
     9591  $as_echo_n "(cached) " >&6
     9592else
     9593  case $MIDORI in
     9594  [\\/]* | ?:[\\/]*)
     9595  ac_cv_path_MIDORI="$MIDORI" # Let the user override the test with a path.
     9596  ;;
     9597  *)
     9598  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9599for as_dir in $PATH
     9600do
     9601  IFS=$as_save_IFS
     9602  test -z "$as_dir" && as_dir=.
     9603    for ac_exec_ext in '' $ac_executable_extensions; do
     9604  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9605    ac_cv_path_MIDORI="$as_dir/$ac_word$ac_exec_ext"
     9606    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9607    break 2
     9608  fi
     9609done
     9610  done
     9611IFS=$as_save_IFS
     9612
     9613  ;;
     9614esac
     9615fi
     9616MIDORI=$ac_cv_path_MIDORI
     9617if test -n "$MIDORI"; then
     9618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDORI" >&5
     9619$as_echo "$MIDORI" >&6; }
     9620else
     9621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9622$as_echo "no" >&6; }
     9623fi
     9624
     9625
     9626fi
     9627if test -z "$ac_cv_path_MIDORI"; then
     9628  ac_pt_MIDORI=$MIDORI
     9629  # Extract the first word of "midori", so it can be a program name with args.
     9630set dummy midori; ac_word=$2
     9631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9632$as_echo_n "checking for $ac_word... " >&6; }
     9633if ${ac_cv_path_ac_pt_MIDORI+:} false; then :
     9634  $as_echo_n "(cached) " >&6
     9635else
     9636  case $ac_pt_MIDORI in
     9637  [\\/]* | ?:[\\/]*)
     9638  ac_cv_path_ac_pt_MIDORI="$ac_pt_MIDORI" # Let the user override the test with a path.
     9639  ;;
     9640  *)
     9641  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9642for as_dir in $PATH
     9643do
     9644  IFS=$as_save_IFS
     9645  test -z "$as_dir" && as_dir=.
     9646    for ac_exec_ext in '' $ac_executable_extensions; do
     9647  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9648    ac_cv_path_ac_pt_MIDORI="$as_dir/$ac_word$ac_exec_ext"
     9649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9650    break 2
     9651  fi
     9652done
     9653  done
     9654IFS=$as_save_IFS
     9655
     9656  ;;
     9657esac
     9658fi
     9659ac_pt_MIDORI=$ac_cv_path_ac_pt_MIDORI
     9660if test -n "$ac_pt_MIDORI"; then
     9661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MIDORI" >&5
     9662$as_echo "$ac_pt_MIDORI" >&6; }
     9663else
     9664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9665$as_echo "no" >&6; }
     9666fi
     9667
     9668  if test "x$ac_pt_MIDORI" = x; then
     9669    MIDORI=""
     9670  else
     9671    case $cross_compiling:$ac_tool_warned in
     9672yes:)
     9673{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9674$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9675ac_tool_warned=yes ;;
     9676esac
     9677    MIDORI=$ac_pt_MIDORI
     9678  fi
     9679else
     9680  MIDORI="$ac_cv_path_MIDORI"
     9681fi
     9682
     9683   fi
     9684  else
     9685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for midori" >&5
     9686$as_echo_n "checking for midori... " >&6; }
     9687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9688$as_echo "no" >&6; }
     9689  fi
     9690
     9691
     9692
     9693# Check whether --with-epiphany was given.
     9694if test "${with_epiphany+set}" = set; then :
     9695  withval=$with_epiphany;
     9696   if test "${withval}" = "no" || test "${withval}" = "yes" || test "${withval}" = "" ; then
     9697    EPIPHANY=""
     9698   elif test -f "${withval}" ; then
     9699    EPIPHANY="${withval}"
     9700   else
     9701    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epiphany" >&5
     9702$as_echo_n "checking for epiphany... " >&6; }
     9703    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
     9704$as_echo "not found" >&6; }
     9705    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9706$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     9707as_fn_error $? "invalid location specified to epiphany: ${withval}
     9708See \`config.log' for more details" "$LINENO" 5; }
     9709   fi
     9710
     9711else
     9712
     9713   withval="yes"
     9714
     9715fi
     9716
     9717
     9718  if test -f "${EPIPHANY}"; then
     9719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epiphany" >&5
     9720$as_echo_n "checking for epiphany... " >&6; }
     9721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${EPIPHANY}" >&5
     9722$as_echo "${EPIPHANY}" >&6; }
     9723  elif test "${withval}" != "no"; then
     9724   if test 2 -gt 2; then
     9725    if test -n "$ac_tool_prefix"; then
     9726  # Extract the first word of "${ac_tool_prefix}", so it can be a program name with args.
     9727set dummy ${ac_tool_prefix}; ac_word=$2
     9728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9729$as_echo_n "checking for $ac_word... " >&6; }
     9730if ${ac_cv_path_EPIPHANY+:} false; then :
     9731  $as_echo_n "(cached) " >&6
     9732else
     9733  case $EPIPHANY in
     9734  [\\/]* | ?:[\\/]*)
     9735  ac_cv_path_EPIPHANY="$EPIPHANY" # Let the user override the test with a path.
     9736  ;;
     9737  *)
     9738  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9739for as_dir in $PATH
     9740do
     9741  IFS=$as_save_IFS
     9742  test -z "$as_dir" && as_dir=.
     9743    for ac_exec_ext in '' $ac_executable_extensions; do
     9744  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9745    ac_cv_path_EPIPHANY="$as_dir/$ac_word$ac_exec_ext"
     9746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9747    break 2
     9748  fi
     9749done
     9750  done
     9751IFS=$as_save_IFS
     9752
     9753  ;;
     9754esac
     9755fi
     9756EPIPHANY=$ac_cv_path_EPIPHANY
     9757if test -n "$EPIPHANY"; then
     9758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPIPHANY" >&5
     9759$as_echo "$EPIPHANY" >&6; }
     9760else
     9761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9762$as_echo "no" >&6; }
     9763fi
     9764
     9765
     9766fi
     9767if test -z "$ac_cv_path_EPIPHANY"; then
     9768  ac_pt_EPIPHANY=$EPIPHANY
     9769  # Extract the first word of "", so it can be a program name with args.
     9770set dummy ; ac_word=$2
     9771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9772$as_echo_n "checking for $ac_word... " >&6; }
     9773if ${ac_cv_path_ac_pt_EPIPHANY+:} false; then :
     9774  $as_echo_n "(cached) " >&6
     9775else
     9776  case $ac_pt_EPIPHANY in
     9777  [\\/]* | ?:[\\/]*)
     9778  ac_cv_path_ac_pt_EPIPHANY="$ac_pt_EPIPHANY" # Let the user override the test with a path.
     9779  ;;
     9780  *)
     9781  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9782for as_dir in $PATH
     9783do
     9784  IFS=$as_save_IFS
     9785  test -z "$as_dir" && as_dir=.
     9786    for ac_exec_ext in '' $ac_executable_extensions; do
     9787  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9788    ac_cv_path_ac_pt_EPIPHANY="$as_dir/$ac_word$ac_exec_ext"
     9789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9790    break 2
     9791  fi
     9792done
     9793  done
     9794IFS=$as_save_IFS
     9795
     9796  ;;
     9797esac
     9798fi
     9799ac_pt_EPIPHANY=$ac_cv_path_ac_pt_EPIPHANY
     9800if test -n "$ac_pt_EPIPHANY"; then
     9801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_EPIPHANY" >&5
     9802$as_echo "$ac_pt_EPIPHANY" >&6; }
     9803else
     9804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9805$as_echo "no" >&6; }
     9806fi
     9807
     9808  if test "x$ac_pt_EPIPHANY" = x; then
     9809    EPIPHANY=""
     9810  else
     9811    case $cross_compiling:$ac_tool_warned in
     9812yes:)
     9813{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9814$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9815ac_tool_warned=yes ;;
     9816esac
     9817    EPIPHANY=$ac_pt_EPIPHANY
     9818  fi
     9819else
     9820  EPIPHANY="$ac_cv_path_EPIPHANY"
     9821fi
     9822
     9823   else
     9824    if test -n "$ac_tool_prefix"; then
     9825  # Extract the first word of "${ac_tool_prefix}epiphany", so it can be a program name with args.
     9826set dummy ${ac_tool_prefix}epiphany; ac_word=$2
     9827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9828$as_echo_n "checking for $ac_word... " >&6; }
     9829if ${ac_cv_path_EPIPHANY+:} false; then :
     9830  $as_echo_n "(cached) " >&6
     9831else
     9832  case $EPIPHANY in
     9833  [\\/]* | ?:[\\/]*)
     9834  ac_cv_path_EPIPHANY="$EPIPHANY" # Let the user override the test with a path.
     9835  ;;
     9836  *)
     9837  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9838for as_dir in $PATH
     9839do
     9840  IFS=$as_save_IFS
     9841  test -z "$as_dir" && as_dir=.
     9842    for ac_exec_ext in '' $ac_executable_extensions; do
     9843  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9844    ac_cv_path_EPIPHANY="$as_dir/$ac_word$ac_exec_ext"
     9845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9846    break 2
     9847  fi
     9848done
     9849  done
     9850IFS=$as_save_IFS
     9851
     9852  ;;
     9853esac
     9854fi
     9855EPIPHANY=$ac_cv_path_EPIPHANY
     9856if test -n "$EPIPHANY"; then
     9857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPIPHANY" >&5
     9858$as_echo "$EPIPHANY" >&6; }
     9859else
     9860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9861$as_echo "no" >&6; }
     9862fi
     9863
     9864
     9865fi
     9866if test -z "$ac_cv_path_EPIPHANY"; then
     9867  ac_pt_EPIPHANY=$EPIPHANY
     9868  # Extract the first word of "epiphany", so it can be a program name with args.
     9869set dummy epiphany; ac_word=$2
     9870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9871$as_echo_n "checking for $ac_word... " >&6; }
     9872if ${ac_cv_path_ac_pt_EPIPHANY+:} false; then :
     9873  $as_echo_n "(cached) " >&6
     9874else
     9875  case $ac_pt_EPIPHANY in
     9876  [\\/]* | ?:[\\/]*)
     9877  ac_cv_path_ac_pt_EPIPHANY="$ac_pt_EPIPHANY" # Let the user override the test with a path.
     9878  ;;
     9879  *)
     9880  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9881for as_dir in $PATH
     9882do
     9883  IFS=$as_save_IFS
     9884  test -z "$as_dir" && as_dir=.
     9885    for ac_exec_ext in '' $ac_executable_extensions; do
     9886  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9887    ac_cv_path_ac_pt_EPIPHANY="$as_dir/$ac_word$ac_exec_ext"
     9888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9889    break 2
     9890  fi
     9891done
     9892  done
     9893IFS=$as_save_IFS
     9894
     9895  ;;
     9896esac
     9897fi
     9898ac_pt_EPIPHANY=$ac_cv_path_ac_pt_EPIPHANY
     9899if test -n "$ac_pt_EPIPHANY"; then
     9900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_EPIPHANY" >&5
     9901$as_echo "$ac_pt_EPIPHANY" >&6; }
     9902else
     9903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9904$as_echo "no" >&6; }
     9905fi
     9906
     9907  if test "x$ac_pt_EPIPHANY" = x; then
     9908    EPIPHANY=""
     9909  else
     9910    case $cross_compiling:$ac_tool_warned in
     9911yes:)
     9912{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9913$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9914ac_tool_warned=yes ;;
     9915esac
     9916    EPIPHANY=$ac_pt_EPIPHANY
     9917  fi
     9918else
     9919  EPIPHANY="$ac_cv_path_EPIPHANY"
     9920fi
     9921
     9922   fi
     9923  else
     9924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epiphany" >&5
     9925$as_echo_n "checking for epiphany... " >&6; }
     9926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9927$as_echo "no" >&6; }
     9928  fi
     9929
     9930
     9931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how browser test will be run" >&5
     9932$as_echo_n "checking how browser test will be run... " >&6; }
     9933
     9934# Check whether --with-browser-tests was given.
     9935if test "${with_browser_tests+set}" = set; then :
     9936  withval=$with_browser_tests;
     9937               BROWSER_SWITCH=${withval}
     9938
     9939else
     9940
     9941               BROWSER_SWITCH="yes"
     9942
     9943fi
     9944
     9945  D_PARAM_PART="-Dmodified.browsers.run"
     9946  case "$BROWSER_SWITCH" in
     9947    "yes" )
     9948        BROWSER_TESTS_MODIFICATION="" ;;
     9949    "no" )
     9950        BROWSER_TESTS_MODIFICATION="$D_PARAM_PART=ignore" ;;
     9951    "one" )
     9952        BROWSER_TESTS_MODIFICATION="$D_PARAM_PART=one" ;;
     9953    "all" )
     9954        BROWSER_TESTS_MODIFICATION="$D_PARAM_PART=all" ;;
     9955    *)
     9956        as_fn_error $? "unknown valkue of with-browser-tests ($BROWSER_SWITCH), so not use (yes) or set yes|no|one|all" "$LINENO" 5
     9957  esac
     9958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${BROWSER_SWITCH}" >&5
     9959$as_echo "${BROWSER_SWITCH}" >&6; }
     9960
     9961
     9962
     9963 if test x"$XSLTPROC" != x ; then
     9964  WITH_XSLTPROC_TRUE=
     9965  WITH_XSLTPROC_FALSE='#'
     9966else
     9967  WITH_XSLTPROC_TRUE='#'
     9968  WITH_XSLTPROC_FALSE=
     9969fi
    76599970
    76609971
     
    779810109  else
    779910110    JUNIT_AVAILABLE=false
     10111  fi
     10112
     10113
     10114
     10115
     10116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for emma jar" >&5
     10117$as_echo_n "checking for emma jar... " >&6; }
     10118
     10119# Check whether --with-emma was given.
     10120if test "${with_emma+set}" = set; then :
     10121  withval=$with_emma;
     10122    case "${withval}" in
     10123      yes)
     10124        EMMA_JAR=yes
     10125        ;;
     10126      no)
     10127        EMMA_JAR=no
     10128        ;;
     10129      *)
     10130        if test -f "${withval}"; then
     10131          EMMA_JAR="${withval}"
     10132        elif test -z "${withval}"; then
     10133          EMMA_JAR=yes
     10134        else
     10135          { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
     10136$as_echo "not found" >&6; }
     10137          as_fn_error $? "\"The emma jar ${withval} was not found.\"" "$LINENO" 5
     10138        fi
     10139        ;;
     10140    esac
     10141
     10142else
     10143
     10144    EMMA_JAR=yes
     10145
     10146fi
     10147
     10148  it_extra_paths_emma="/usr/share/java/emma.jar"
     10149  if test "x${EMMA_JAR}" = "xyes"; then
     10150    for path in ${it_extra_paths_emma}; do
     10151      if test -f ${path}; then
     10152        EMMA_JAR=${path}
     10153        break
     10154      fi
     10155    done
     10156  fi
     10157  if test x"${EMMA_JAR}" = "xyes"; then
     10158    if test -f "/usr/share/java/emma.jar"; then
     10159      EMMA_JAR=/usr/share/java/emma.jar
     10160    fi
     10161  fi
     10162  if test x"${EMMA_JAR}" = "xyes"; then
     10163    EMMA_JAR=no
     10164  fi
     10165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${EMMA_JAR}" >&5
     10166$as_echo "${EMMA_JAR}" >&6; }
     10167   if test x"${EMMA_JAR}" != "xno"; then
     10168  WITH_EMMA_TRUE=
     10169  WITH_EMMA_FALSE='#'
     10170else
     10171  WITH_EMMA_TRUE='#'
     10172  WITH_EMMA_FALSE=
     10173fi
     10174
     10175  # Clear EMMA_JAR if it doesn't contain a valid filename
     10176  if test x"${EMMA_JAR}" = "xno"; then
     10177    EMMA_JAR=
     10178  fi
     10179  if test -n "${EMMA_JAR}" ; then
     10180    EMMA_AVAILABLE=true
     10181  else
     10182    EMMA_AVAILABLE=false
    780010183  fi
    780110184
     
    800110384Usually this means the macro was only invoked conditionally." "$LINENO" 5
    800210385fi
     10386if test -z "${WITH_XSLTPROC_TRUE}" && test -z "${WITH_XSLTPROC_FALSE}"; then
     10387  as_fn_error $? "conditional \"WITH_XSLTPROC\" was never defined.
     10388Usually this means the macro was only invoked conditionally." "$LINENO" 5
     10389fi
    800310390if test -z "${WITH_RHINO_TRUE}" && test -z "${WITH_RHINO_FALSE}"; then
    800410391  as_fn_error $? "conditional \"WITH_RHINO\" was never defined.
     
    800710394if test -z "${WITH_JUNIT_TRUE}" && test -z "${WITH_JUNIT_FALSE}"; then
    800810395  as_fn_error $? "conditional \"WITH_JUNIT\" was never defined.
     10396Usually this means the macro was only invoked conditionally." "$LINENO" 5
     10397fi
     10398if test -z "${WITH_EMMA_TRUE}" && test -z "${WITH_EMMA_FALSE}"; then
     10399  as_fn_error $? "conditional \"WITH_EMMA\" was never defined.
    800910400Usually this means the macro was only invoked conditionally." "$LINENO" 5
    801010401fi
     
    841810809# values after options handling.
    841910810ac_log="
    8420 This file was extended by icedtea-web $as_me 1.1.2, which was
     10811This file was extended by icedtea-web $as_me 1.3, which was
    842110812generated by GNU Autoconf 2.68.  Invocation command line was
    842210813
     
    847610867ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    847710868ac_cs_version="\\
    8478 icedtea-web config.status 1.1.2
     10869icedtea-web config.status 1.3
    847910870configured by $0, generated by GNU Autoconf 2.68,
    848010871  with options \\"\$ac_cs_config\\"
Note: See TracChangeset for help on using the changeset viewer.