incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r1179044 [2/3] - in /incubator/ooo/trunk/main: configure configure.in oox/source/token/makefile.mk set_soenv.in
Date Wed, 05 Oct 2011 03:08:15 GMT

Modified: incubator/ooo/trunk/main/configure
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/configure?rev=1179044&r1=1179043&r2=1179044&view=diff
==============================================================================
--- incubator/ooo/trunk/main/configure (original)
+++ incubator/ooo/trunk/main/configure Wed Oct  5 03:08:15 2011
@@ -1,61 +1,84 @@
 #! /bin/sh
 # From configure.in Revision: 1.290  .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
+# Generated by GNU Autoconf 2.68.
+#
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+# Foundation, Inc.
+#
+#
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization.  ##
-## --------------------- ##
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
 
 # Be more Bourne compatible
 DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh
   NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+"$@"}'='"$@"'
   setopt NO_GLOB_SUBST
 else
-  case `(set -o) 2>/dev/null` in
-  *posix*) set -o posix ;;
+  case `(set -o) 2>/dev/null` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
 esac
-
 fi
 
 
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conf$$.sh
-  echo  "exit 0"   >>conf$$.sh
-  chmod +x conf$$.sh
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
-    PATH_SEPARATOR=';'
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='print -r --'
+  as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='printf %s\n'
+  as_echo_n='printf %s'
+else
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+    as_echo_n='/usr/ucb/echo -n'
   else
-    PATH_SEPARATOR=:
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+    as_echo_n_body='eval
+      arg=$1;
+      case $arg in #(
+      *"$as_nl"*)
+	expr "X$arg" : "X\\(.*\\)$as_nl";
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+      esac;
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+    '
+    export as_echo_n_body
+    as_echo_n='sh -c $as_echo_n_body as_echo'
   fi
-  rm -f conf$$.sh
+  export as_echo_body
+  as_echo='sh -c $as_echo_body as_echo'
 fi
 
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+      PATH_SEPARATOR=';'
+  }
 fi
 
 
@@ -64,20 +87,19 @@ fi
 # there to prevent editors from complaining about space-tab.
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 # splitting by setting IFS to empty value.)
-as_nl='
-'
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
-case $0 in
+as_myself=
+case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+  done
 IFS=$as_save_IFS
 
      ;;
@@ -88,354 +110,328 @@ if test "x$as_myself" = x; then
   as_myself=$0
 fi
 if test ! -f "$as_myself"; then
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  { (exit 1); exit 1; }
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+  exit 1
 fi
 
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there.  '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 done
 PS1='$ '
 PS2='> '
 PS4='+ '
 
 # NLS nuisances.
-for as_var in \
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-  LC_TELEPHONE LC_TIME
-do
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-    eval $as_var=C; export $as_var
-  else
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-  fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
 
 # CDPATH.
-$as_unset CDPATH
-
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 if test "x$CONFIG_SHELL" = x; then
-  if (eval ":") 2>/dev/null; then
-  as_have_required=yes
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
+  setopt NO_GLOB_SUBST
 else
-  as_have_required=no
+  case \`(set -o) 2>/dev/null\` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
+esac
 fi
-
-  if test $as_have_required = yes && 	 (eval ":
-(as_func_return () {
-  (exit \$1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
+"
+  as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
 
 exitcode=0
-if as_func_success; then
-  :
-else
-  exitcode=1
-  echo as_func_success failed.
-fi
-
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
-  :
-else
-  exitcode=1
-  echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
-  :
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+  exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1"
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+  if (eval "$as_required") 2>/dev/null; then :
+  as_have_required=yes
 else
-  exitcode=1
-  echo positional parameters were not saved.
+  as_have_required=no
 fi
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
-  as_lineno_1=\$LINENO
-  as_lineno_2=\$LINENO
-  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
-  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
-  :
 else
-  as_candidate_shells=
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  case $as_dir in
+  as_found=:
+  case $as_dir in #(
 	 /*)
 	   for as_base in sh bash ksh sh5; do
-	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
+	     # Try only shells that exist, to save several forks.
+	     as_shell=$as_dir/$as_base
+	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+  CONFIG_SHELL=$as_shell as_have_required=yes
+		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+  break 2
+fi
+fi
 	   done;;
        esac
+  as_found=false
 done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+  CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
 IFS=$as_save_IFS
 
 
-      for as_shell in $as_candidate_shells $SHELL; do
-	 # Try only shells that exist, to save several forks.
-	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
-		{ ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in
-  *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
-  CONFIG_SHELL=$as_shell
-	       as_have_required=yes
-	       if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in
-  *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
-  (exit $1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
-
-exitcode=0
-if as_func_success; then
-  :
-else
-  exitcode=1
-  echo as_func_success failed.
-fi
-
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
-  :
-else
-  exitcode=1
-  echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
-  :
-else
-  exitcode=1
-  echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
-  break
-fi
-
-fi
-
-      done
-
-      if test "x$CONFIG_SHELL" != x; then
-  for as_var in BASH_ENV ENV
-        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-        done
-        export CONFIG_SHELL
-        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+      if test "x$CONFIG_SHELL" != x; then :
+  # We cannot yet assume a decent shell, so we have to provide a
+	# neutralization value for shells without unset; and this also
+	# works around shells that cannot unset nonexistent variables.
+	# Preserve -v and -x to the replacement shell.
+	BASH_ENV=/dev/null
+	ENV=/dev/null
+	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+	export CONFIG_SHELL
+	case $- in # ((((
+	  *v*x* | *x*v* ) as_opts=-vx ;;
+	  *v* ) as_opts=-v ;;
+	  *x* ) as_opts=-x ;;
+	  * ) as_opts= ;;
+	esac
+	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 fi
 
-
-    if test $as_have_required = no; then
-  echo This script requires a shell more modern than all the
-      echo shells that I found on your system.  Please install a
-      echo modern shell, or manually run the script under such a
-      echo shell if you do have one.
-      { (exit 1); exit 1; }
+    if test x$as_have_required = xno; then :
+  $as_echo "$0: This script requires a shell more modern than all"
+  $as_echo "$0: the shells that I found on your system."
+  if test x${ZSH_VERSION+set} = xset ; then
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+  else
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
+$0: including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
+  fi
+  exit 1
 fi
-
-
 fi
-
 fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
 
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+  { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+  return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+  set +e
+  as_fn_set_status $1
+  exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
 
+  case $as_dir in #(
+  -*) as_dir=./$as_dir;;
+  esac
+  test -d "$as_dir" || eval $as_mkdir_p || {
+    as_dirs=
+    while :; do
+      case $as_dir in #(
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+      *) as_qdir=$as_dir;;
+      esac
+      as_dirs="'$as_qdir' $as_dirs"
+      as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
+	 X"$as_dir" : 'X\(//\)$' \| \
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\/\)[^/].*/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\/\)$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\).*/{
+	    s//\1/
+	    q
+	  }
+	  s/.*/./; q'`
+      test -d "$as_dir" && break
+    done
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
-(eval "as_func_return () {
-  (exit \$1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
 
-exitcode=0
-if as_func_success; then
-  :
+} # as_fn_mkdir_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+  eval 'as_fn_append ()
+  {
+    eval $1+=\$2
+  }'
 else
-  exitcode=1
-  echo as_func_success failed.
-fi
-
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
-fi
+  as_fn_append ()
+  {
+    eval $1=\$$1\$2
+  }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+  eval 'as_fn_arith ()
+  {
+    as_val=$(( $* ))
+  }'
+else
+  as_fn_arith ()
+  {
+    as_val=`expr "$@" || test $? -eq 1`
+  }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+  fi
+  $as_echo "$as_me: error: $2" >&2
+  as_fn_exit $as_status
+} # as_fn_error
 
-if as_func_ret_success; then
-  :
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
+  as_expr=expr
 else
-  exitcode=1
-  echo as_func_ret_success failed.
+  as_expr=false
 fi
 
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+  as_basename=basename
+else
+  as_basename=false
 fi
 
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
-  :
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+  as_dirname=dirname
 else
-  exitcode=1
-  echo positional parameters were not saved.
+  as_dirname=false
 fi
 
-test \$exitcode = 0") || {
-  echo No shell found that supports shell functions.
-  echo Please tell autoconf@gnu.org about your system,
-  echo including any error possibly output before this
-  echo message
-}
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+	 X"$0" : 'X\(//\)$' \| \
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\/\(\/\/\)$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\/\(\/\).*/{
+	    s//\1/
+	    q
+	  }
+	  s/.*/./; q'`
 
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
 
 
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-  # uniformly replaced by the line number.  The first 'sed' inserts a
-  # line-number line after each line using $LINENO; the second 'sed'
-  # does the real work.  The second script uses 'N' to pair each
-  # line-number line with the line containing $LINENO, and appends
-  # trailing '-' during substitution so that $LINENO is not a special
-  # case at line end.
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   sed -n '
     p
     /[$]LINENO/=
@@ -452,8 +448,7 @@ test \$exitcode = 0") || {
       s/-\n.*//
     ' >$as_me.lineno &&
   chmod +x "$as_me.lineno" ||
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
-   { (exit 1); exit 1; }; }
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
   # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the
@@ -463,49 +458,40 @@ test \$exitcode = 0") || {
   exit
 }
 
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
 ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
+case `echo -n x` in #(((((
 -n*)
-  case `echo 'x\c'` in
+  case `echo 'xy\c'` in
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  *)   ECHO_C='\c';;
+  xy)  ECHO_C='\c';;
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
+       ECHO_T='	';;
   esac;;
 *)
   ECHO_N='-n';;
 esac
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
 rm -f conf$$ conf$$.exe conf$$.file
 if test -d conf$$.dir; then
   rm -f conf$$.dir/conf$$.file
 else
   rm -f conf$$.dir
-  mkdir conf$$.dir
+  mkdir conf$$.dir 2>/dev/null
 fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s='ln -s'
-  # ... but there are two gotchas:
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-  # In both cases, we have to default to `cp -p'.
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+if (echo >conf$$.file) 2>/dev/null; then
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s='ln -s'
+    # ... but there are two gotchas:
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+    # In both cases, we have to default to `cp -p'.
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+      as_ln_s='cp -p'
+  elif ln conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s=ln
+  else
     as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s=ln
+  fi
 else
   as_ln_s='cp -p'
 fi
@@ -513,7 +499,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$
 rmdir conf$$.dir 2>/dev/null
 
 if mkdir -p . 2>/dev/null; then
-  as_mkdir_p=:
+  as_mkdir_p='mkdir -p "$as_dir"'
 else
   test -d ./-p && rmdir ./-p
   as_mkdir_p=false
@@ -530,12 +516,12 @@ else
   as_test_x='
     eval sh -c '\''
       if test -d "$1"; then
-        test -d "$1/.";
+	test -d "$1/.";
       else
-	case $1 in
-        -*)set "./$1";;
+	case $1 in #(
+	-*)set "./$1";;
 	esac;
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 	???[sx]*):;;*)false;;esac;fi
     '\'' sh
   '
@@ -549,11 +535,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
 
-
-exec 7<&0 </dev/null 6>&1
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
 
 # Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
@@ -568,7 +554,6 @@ cross_compiling=no
 subdirs=
 MFLAGS=
 MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
 
 # Identity of this package.
 PACKAGE_NAME=
@@ -576,6 +561,7 @@ PACKAGE_TARNAME=
 PACKAGE_VERSION=
 PACKAGE_STRING=
 PACKAGE_BUGREPORT=
+PACKAGE_URL=
 
 # Factoring default headers for most tests.
 ac_includes_default="\
@@ -613,448 +599,633 @@ ac_includes_default="\
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-GREP
-EGREP
-AWK
-SED
-LOCAL_SOLENV
-_solenv
-UPD
-SOURCEVERSION
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-GNUTAR
-OSVERSION
-PTHREAD_CFLAGS
-PTHREAD_LIBS
-PKG_CONFIG
-PKG_CONFIG_PATH
-PKG_CONFIG_LIBDIR
-ENABLE_CRASHDUMP
-VC_STANDARD
-ENABLE_WERROR
-ENABLE_DEBUG
-PRODUCT
-PROFULLSWITCH
-PROEXT
-ENABLE_SYMBOLS
-DISABLE_STRIP
-DISABLE_HUNSPELL
-DISABLE_HYPHEN
-DISABLE_LIBWPD
-DISABLE_SAXON
-DISABLE_NEON
-BUILD_EPM
-ENABLE_CUPS
-ENABLE_FONTCONFIG
-TARFILE_LOCATION
-DO_FETCH_TARBALLS
-WITH_BINFILTER
-ENABLE_DIRECTX
-DISABLE_ACTIVEX
-DISABLE_ATL
-ENABLE_RPATH
-WITH_MYSPELL_DICTS
-SYSTEM_DICTS
-DICT_SYSTEM_DIR
-HYPH_SYSTEM_DIR
-THES_SYSTEM_DIR
-WITH_MINGWIN
-SHELLPATH
-GCC_HOME
-CC
-CFLAGS
-LDFLAGS
-CPPFLAGS
-ac_ct_CC
-EXEEXT
-OBJEXT
-COMPATH
-GCCVER
-HAVE_LD_BSYMBOLIC_FUNCTIONS
-ENABLE_PCH
-GNUMAKE
-_cc
-HAVE_LD_HASH_STYLE
-PERL
-MSPDB_PATH
-COMEX
-USE_MINGW
-MIDL_PATH
-CSC_PATH
-FRAME_HOME
-CPP
-CXX
-CXXFLAGS
-ac_ct_CXX
-CXXCPP
-SIZEOF_LONG
-WORDS_BIGENDIAN
-LFS_CFLAGS
-VALGRIND_CFLAGS
-PAM
-NEW_SHADOW_API
-PAM_LINK
-CRYPT_LINK
-GXX_INCLUDE_PATH
-MINGW_LIB_INCLUDE_PATH
-MINGW_BACKWARD_INCLUDE_PATH
-MINGW_CLIB_DIR
-MINGW_SHARED_GCCLIB
-MINGW_GCCLIB_EH
-MINGW_SHARED_GXXLIB
-MINGW_SHARED_LIBSTDCPP
-MINGW_GCCDLL
-MINGW_GXXDLL
-EXCEPTIONS
-STLPORT4
-STLPORT_VER
-USE_SYSTEM_STL
-USE_CCACHE
-CCACHE
-HAVE_GCC_VISIBILITY_FEATURE
-ALLOC
-BUILD_VER_STRING
-SOLAR_JAVA
-JAVAINTERPRETER
-JAVACOMPILER
-JAVACISGCJ
-JAVADOC
-AWTLIB
-JAVAAOTCOMPILER
-JAVA_HOME
-JDK
-JAVAFLAGS
-JAVAIFLAGS
-DMAKE
-BUILD_DMAKE
-EPM
-DPKG
-PKGMK
-RPM
-PKGFORMAT
-GPERF
-BUILD_STAX
-MINGWCXX
-MINGWSTRIP
-BUILD_UNOWINREG
-SYSTEM_STDLIBS
-SYSTEM_ZLIB
-SYSTEM_JPEG
-SYSTEM_EXPAT
-LIBWPD_CFLAGS
-LIBWPD_LIBS
-SYSTEM_LIBWPD
-CPPUNIT_CFLAGS
-CPPUNIT_LIBS
-SYSTEM_CPPUNIT
-FREETYPE_CFLAGS
-FREETYPE_LIBS
-USE_FT_EMBOLDEN
-LIBXSLT_CFLAGS
-LIBXSLT_LIBS
-XSLTPROC
-SYSTEM_LIBXSLT
-LIBXML_CFLAGS
-LIBXML_LIBS
-SYSTEM_LIBXML
-PYTHON
-PYTHON_VERSION
-PYTHON_PREFIX
-PYTHON_EXEC_PREFIX
-PYTHON_PLATFORM
-pythondir
-pkgpythondir
-pyexecdir
-pkgpyexecdir
-BZIP2
-SYSTEM_PYTHON
-PYTHON_CFLAGS
-PYTHON_LIBS
-HOME
-SYSTEM_DB
-DB_VERSION
-DB_INCLUDES
-DB_JAR
-SYSTEM_LUCENE
-LUCENE_CORE_JAR
-LUCENE_ANALYZERS_JAR
-ENABLE_MYSQLC
-MYSQLCONFIG
-SYSTEM_MYSQL
-MYSQL_INC
-MYSQL_LIB
-MYSQL_DEFINES
-LIBMYSQL_PATH
-SYSTEM_MYSQL_CPPCONN
-SYSTEM_HSQLDB
-HSQLDB_JAR
-SYSTEM_BSH
-BSH_JAR
-SERIALIZER_JAR
-SYSTEM_SAXON
-SAXON_JAR
-CURLCONFIG
-SYSTEM_CURL
-CURL_CFLAGS
-CURL_LIBS
-SYSTEM_MDDS
-SYSTEM_BOOST
-SYSTEM_VIGRA
-SYSTEM_ODBC_HEADERS
-WITH_MOZILLA
-WITH_LDAP
-WITH_OPENLDAP
-MOZ_NSS_CFLAGS
-MOZ_NSS_LIBS
-NSS_LIB
-MOZ_NSPR_CFLAGS
-MOZ_NSPR_LIBS
-NSPR_LIB
-MOZILLAXPCOM_CFLAGS
-MOZILLAXPCOM_LIBS
-MOZILLA_VERSION
-MOZILLA_TOOLKIT
-MOZGTK2_CFLAGS
-MOZGTK2_LIBS
-MOZLIBREQ_CFLAGS
-MOZLIBREQ_LIBS
-BUILD_MOZAB
-ENABLE_NSS_MODULE
-MOZILLABUILD
-SYSTEM_MOZILLA
-MOZ_FLAVOUR
-MOZ_INC
-MOZ_LIB
-MOZ_LIB_XPCOM
-MOZ_LDAP_CFLAGS
-SYSTEM_SANE_HEADER
-SYSTEM_GENBRK
-SYSTEM_GENCCODE
-SYSTEM_GENCMN
-ICUCONFIG
-SYSTEM_ICU
-ICU_MAJOR
-ICU_MINOR
-ICU_MICRO
-GRAPHITE_CFLAGS
-GRAPHITE_LIBS
-ENABLE_GRAPHITE
-SYSTEM_GRAPHITE
-XMKMF
-X_CFLAGS
-X_PRE_LIBS
-X_LIBS
-X_EXTRA_LIBS
-XINC
-XLIB
-XAU_LIBS
-DISABLE_XAW
-SYSTEM_XRENDER_HEADERS
-XRENDER_LINK
-XRANDR_CFLAGS
-XRANDR_LIBS
-XRANDR_DLOPEN
-ENABLE_RANDR
-NEON_CFLAGS
-NEON_LIBS
-SYSTEM_NEON
-NEON_VERSION
-OPENSSL_CFLAGS
-OPENSSL_LIBS
-SYSTEM_OPENSSL
-ENABLE_AGG
-AGG_CFLAGS
-AGG_LIBS
-SYSTEM_AGG
-AGG_VERSION
-REDLAND_CFLAGS
-REDLAND_LIBS
-SYSTEM_REDLAND
-HUNSPELL_CFLAGS
-HUNSPELL_LIBS
-SYSTEM_HUNSPELL
-SYSTEM_HYPH
-HYPHEN_LIB
-MYTHES_CFLAGS
-MYTHES_LIBS
-SYSTEM_MYTHES
-SYSTEM_LPSOLVE
-SYSTEM_LIBTEXTCAT
-SYSTEM_LIBTEXTCAT_DATA
-HAVE_GETOPT
-HAVE_READDIR_R
-SYSTEM_LIBC
-PSDK_HOME
-WINDOWS_VISTA_PSDK
-DIRECTXSDK_HOME
-DIRECTXSDK_LIB
-NSIS_PATH
-BISON
-FLEX
-PATCH
-GNUCP
-GNUPATCH
-CYGWIN_PATH
-ML_EXE
-ASM_HOME
-ZIP
-UNZIP
-ZIP_HOME
-ENABLE_GTK
-ENABLE_KDE
-ENABLE_KDE4
-GCONF_CFLAGS
-GCONF_LIBS
-ENABLE_GCONF
-GNOMEVFS_CFLAGS
-GNOMEVFS_LIBS
-ENABLE_GNOMEVFS
-GTK_CFLAGS
-GTK_LIBS
-GTHREAD_CFLAGS
-GTHREAD_LIBS
-DBUS_CFLAGS
-DBUS_LIBS
-GIO_CFLAGS
-GIO_LIBS
-ENABLE_GIO
-ENABLE_DBUS
-ENABLE_SYSTRAY_GTK
-GSTREAMER_CFLAGS
-GSTREAMER_LIBS
-ENABLE_GSTREAMER
-CAIRO_CFLAGS
-CAIRO_LIBS
-ENABLE_CAIRO
-BUILD_PIXMAN
-SYSTEM_CAIRO
-ENABLE_CAIRO_CANVAS
-LIBRSVG_CFLAGS
-LIBRSVG_LIBS
-ENABLE_LIBRSVG
-ENABLE_OPENGL
-ENABLE_PRESENTER_EXTRA_UI
-ENABLE_MINIMIZER
-ENABLE_PRESENTER_SCREEN
-POPPLER_CFLAGS
-POPPLER_LIBS
-ENABLE_PDFIMPORT
-SYSTEM_POPPLER
-ENABLE_MEDIAWIKI
-SYSTEM_SERVLETAPI
-SERVLETAPI_JAR
-ENABLE_REPORTBUILDER
-SYSTEM_JFREEREPORT
-SAC_JAR
-LIBXML_JAR
-FLUTE_JAR
-JFREEREPORT_JAR
-LIBBASE_JAR
-LIBLAYOUT_JAR
-LIBLOADER_JAR
-LIBFORMULA_JAR
-LIBREPOSITORY_JAR
-LIBFONTS_JAR
-LIBSERIALIZER_JAR
-SYSTEM_APACHE_COMMONS
-COMMONS_CODEC_JAR
-COMMONS_LANG_JAR
-COMMONS_HTTPCLIENT_JAR
-COMMONS_LOGGING_JAR
-MOC
-KDE_CFLAGS
-KDE_LIBS
-MOC4
-KDE4_CFLAGS
-KDE4_LIBS
-ENABLE_LOCKDOWN
-GOBJECT_CFLAGS
-GOBJECT_LIBS
-ENABLE_EVOAB2
-ENABLE_KAB
-WITH_FONTS
-WITHOUT_PPDS
-WITHOUT_AFMS
-SCPDEFS
-USE_XINERAMA
-XINERAMA_LINK
-SYSTEM_LIBRSVG
-SYSTEM_GDKPIXBUF
-SYSTEM_GLIB
-SYSTEM_GETTEXT
-SYSTEM_LIBCROCO
-SYSTEM_PANGO
-SYSTEM_LIBGSF
-SYSTEM_LIBPNG
-SYSTEM_LIBJPEG
-ANT
-ANT_HOME
-ANT_LIB
-OOO_JUNIT_JAR
-WITH_LANG
-WITH_POOR_HELP_LOCALIZATIONS
-WITH_DICT
-INTRO_BITMAPS
-ABOUT_BITMAPS
-OOO_VENDOR
-UNIXWRAPPERNAME
-ENABLE_STATIC_GTK
-ENABLE_LAYOUT
-VERBOSE
-nodep
-LOCAL_SOLVER
-BUILD_TYPE
+ac_subst_vars='LTLIBOBJS
 LIBOBJS
-LTLIBOBJS'
+BUILD_TYPE
+LOCAL_SOLVER
+nodep
+VERBOSE
+ENABLE_LAYOUT
+ENABLE_STATIC_GTK
+UNIXWRAPPERNAME
+OOO_VENDOR
+ABOUT_BITMAPS
+INTRO_BITMAPS
+WITH_DICT
+WITH_POOR_HELP_LOCALIZATIONS
+WITH_LANG
+OOO_JUNIT_JAR
+ANT_LIB
+ANT_HOME
+ANT
+SYSTEM_LIBJPEG
+SYSTEM_LIBPNG
+SYSTEM_LIBGSF
+SYSTEM_PANGO
+SYSTEM_LIBCROCO
+SYSTEM_GETTEXT
+SYSTEM_GLIB
+SYSTEM_GDKPIXBUF
+SYSTEM_LIBRSVG
+XINERAMA_LINK
+USE_XINERAMA
+SCPDEFS
+WITHOUT_AFMS
+WITHOUT_PPDS
+WITH_FONTS
+ENABLE_KAB
+ENABLE_EVOAB2
+GOBJECT_LIBS
+GOBJECT_CFLAGS
+ENABLE_LOCKDOWN
+KDE4_LIBS
+KDE4_CFLAGS
+MOC4
+KDE_LIBS
+KDE_CFLAGS
+MOC
+COMMONS_LOGGING_JAR
+COMMONS_HTTPCLIENT_JAR
+COMMONS_LANG_JAR
+COMMONS_CODEC_JAR
+SYSTEM_APACHE_COMMONS
+LIBSERIALIZER_JAR
+LIBFONTS_JAR
+LIBREPOSITORY_JAR
+LIBFORMULA_JAR
+LIBLOADER_JAR
+LIBLAYOUT_JAR
+LIBBASE_JAR
+JFREEREPORT_JAR
+FLUTE_JAR
+LIBXML_JAR
+SAC_JAR
+SYSTEM_JFREEREPORT
+ENABLE_REPORTBUILDER
+SERVLETAPI_JAR
+SYSTEM_SERVLETAPI
+ENABLE_MEDIAWIKI
+SYSTEM_POPPLER
+ENABLE_PDFIMPORT
+POPPLER_LIBS
+POPPLER_CFLAGS
+ENABLE_PRESENTER_SCREEN
+ENABLE_MINIMIZER
+ENABLE_PRESENTER_EXTRA_UI
+ENABLE_OPENGL
+ENABLE_LIBRSVG
+LIBRSVG_LIBS
+LIBRSVG_CFLAGS
+ENABLE_CAIRO_CANVAS
+SYSTEM_CAIRO
+BUILD_PIXMAN
+ENABLE_CAIRO
+CAIRO_LIBS
+CAIRO_CFLAGS
+ENABLE_GSTREAMER
+GSTREAMER_LIBS
+GSTREAMER_CFLAGS
+ENABLE_SYSTRAY_GTK
+ENABLE_DBUS
+ENABLE_GIO
+GIO_LIBS
+GIO_CFLAGS
+DBUS_LIBS
+DBUS_CFLAGS
+GTHREAD_LIBS
+GTHREAD_CFLAGS
+GTK_LIBS
+GTK_CFLAGS
+ENABLE_GNOMEVFS
+GNOMEVFS_LIBS
+GNOMEVFS_CFLAGS
+ENABLE_GCONF
+GCONF_LIBS
+GCONF_CFLAGS
+ENABLE_KDE4
+ENABLE_KDE
+ENABLE_GTK
+ZIP_HOME
+UNZIP
+ZIP
+ASM_HOME
+ML_EXE
+CYGWIN_PATH
+GNUPATCH
+GNUCP
+PATCH
+FLEX
+BISON
+NSIS_PATH
+DIRECTXSDK_LIB
+DIRECTXSDK_HOME
+WINDOWS_VISTA_PSDK
+PSDK_HOME
+SYSTEM_LIBC
+HAVE_READDIR_R
+HAVE_GETOPT
+SYSTEM_LIBTEXTCAT_DATA
+SYSTEM_LIBTEXTCAT
+SYSTEM_LPSOLVE
+SYSTEM_MYTHES
+MYTHES_LIBS
+MYTHES_CFLAGS
+HYPHEN_LIB
+SYSTEM_HYPH
+SYSTEM_HUNSPELL
+HUNSPELL_LIBS
+HUNSPELL_CFLAGS
+SYSTEM_REDLAND
+REDLAND_LIBS
+REDLAND_CFLAGS
+AGG_VERSION
+SYSTEM_AGG
+AGG_LIBS
+AGG_CFLAGS
+ENABLE_AGG
+SYSTEM_OPENSSL
+OPENSSL_LIBS
+OPENSSL_CFLAGS
+NEON_VERSION
+SYSTEM_NEON
+NEON_LIBS
+NEON_CFLAGS
+ENABLE_RANDR
+XRANDR_DLOPEN
+XRANDR_LIBS
+XRANDR_CFLAGS
+XRENDER_LINK
+SYSTEM_XRENDER_HEADERS
+DISABLE_XAW
+XAU_LIBS
+XLIB
+XINC
+X_EXTRA_LIBS
+X_LIBS
+X_PRE_LIBS
+X_CFLAGS
+XMKMF
+SYSTEM_GRAPHITE
+ENABLE_GRAPHITE
+GRAPHITE_LIBS
+GRAPHITE_CFLAGS
+ICU_MICRO
+ICU_MINOR
+ICU_MAJOR
+SYSTEM_ICU
+ICUCONFIG
+SYSTEM_GENCMN
+SYSTEM_GENCCODE
+SYSTEM_GENBRK
+SYSTEM_SANE_HEADER
+MOZ_LDAP_CFLAGS
+MOZ_LIB_XPCOM
+MOZ_LIB
+MOZ_INC
+MOZ_FLAVOUR
+SYSTEM_MOZILLA
+MOZILLABUILD
+ENABLE_NSS_MODULE
+BUILD_MOZAB
+MOZLIBREQ_LIBS
+MOZLIBREQ_CFLAGS
+MOZGTK2_LIBS
+MOZGTK2_CFLAGS
+MOZILLA_TOOLKIT
+MOZILLA_VERSION
+MOZILLAXPCOM_LIBS
+MOZILLAXPCOM_CFLAGS
+NSPR_LIB
+MOZ_NSPR_LIBS
+MOZ_NSPR_CFLAGS
+NSS_LIB
+MOZ_NSS_LIBS
+MOZ_NSS_CFLAGS
+WITH_OPENLDAP
+WITH_LDAP
+WITH_MOZILLA
+SYSTEM_ODBC_HEADERS
+SYSTEM_VIGRA
+SYSTEM_BOOST
+SYSTEM_MDDS
+CURL_LIBS
+CURL_CFLAGS
+SYSTEM_CURL
+CURLCONFIG
+SAXON_JAR
+SYSTEM_SAXON
+SERIALIZER_JAR
+BSH_JAR
+SYSTEM_BSH
+HSQLDB_JAR
+SYSTEM_HSQLDB
+SYSTEM_MYSQL_CPPCONN
+LIBMYSQL_PATH
+MYSQL_DEFINES
+MYSQL_LIB
+MYSQL_INC
+SYSTEM_MYSQL
+MYSQLCONFIG
+ENABLE_MYSQLC
+LUCENE_ANALYZERS_JAR
+LUCENE_CORE_JAR
+SYSTEM_LUCENE
+DB_JAR
+DB_INCLUDES
+DB_VERSION
+SYSTEM_DB
+HOME
+PYTHON_LIBS
+PYTHON_CFLAGS
+SYSTEM_PYTHON
+BZIP2
+pkgpyexecdir
+pyexecdir
+pkgpythondir
+pythondir
+PYTHON_PLATFORM
+PYTHON_EXEC_PREFIX
+PYTHON_PREFIX
+PYTHON_VERSION
+PYTHON
+SYSTEM_LIBXML
+LIBXML_LIBS
+LIBXML_CFLAGS
+SYSTEM_LIBXSLT
+XSLTPROC
+LIBXSLT_LIBS
+LIBXSLT_CFLAGS
+USE_FT_EMBOLDEN
+FREETYPE_LIBS
+FREETYPE_CFLAGS
+SYSTEM_CPPUNIT
+CPPUNIT_LIBS
+CPPUNIT_CFLAGS
+SYSTEM_LIBWPD
+LIBWPD_LIBS
+LIBWPD_CFLAGS
+SYSTEM_EXPAT
+SYSTEM_JPEG
+SYSTEM_ZLIB
+SYSTEM_STDLIBS
+BUILD_UNOWINREG
+MINGWSTRIP
+MINGWCXX
+BUILD_STAX
+GPERF
+PKGFORMAT
+RPM
+PKGMK
+DPKG
+EPM
+BUILD_DMAKE
+DMAKE
+JAVAIFLAGS
+JAVAFLAGS
+JDK
+JAVA_HOME
+JAVAAOTCOMPILER
+AWTLIB
+JAVADOC
+JAVACISGCJ
+JAVACOMPILER
+JAVAINTERPRETER
+SOLAR_JAVA
+BUILD_VER_STRING
+ALLOC
+HAVE_GCC_VISIBILITY_FEATURE
+CCACHE
+USE_CCACHE
+USE_SYSTEM_STL
+STLPORT_VER
+STLPORT4
+EXCEPTIONS
+MINGW_GXXDLL
+MINGW_GCCDLL
+MINGW_SHARED_LIBSTDCPP
+MINGW_SHARED_GXXLIB
+MINGW_GCCLIB_EH
+MINGW_SHARED_GCCLIB
+MINGW_CLIB_DIR
+MINGW_BACKWARD_INCLUDE_PATH
+MINGW_LIB_INCLUDE_PATH
+GXX_INCLUDE_PATH
+CRYPT_LINK
+PAM_LINK
+NEW_SHADOW_API
+PAM
+VALGRIND_CFLAGS
+LFS_CFLAGS
+WORDS_BIGENDIAN
+SIZEOF_LONG
+CXXCPP
+ac_ct_CXX
+CXXFLAGS
+CXX
+CPP
+FRAME_HOME
+CSC_PATH
+MIDL_PATH
+USE_MINGW
+COMEX
+MSPDB_PATH
+PERL
+HAVE_LD_HASH_STYLE
+_cc
+GNUMAKE
+ENABLE_PCH
+HAVE_LD_BSYMBOLIC_FUNCTIONS
+GCCVER
+COMPATH
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
+GCC_HOME
+SHELLPATH
+WITH_MINGWIN
+THES_SYSTEM_DIR
+HYPH_SYSTEM_DIR
+DICT_SYSTEM_DIR
+SYSTEM_DICTS
+WITH_MYSPELL_DICTS
+ENABLE_RPATH
+DISABLE_ATL
+DISABLE_ACTIVEX
+ENABLE_DIRECTX
+WITH_BINFILTER
+DO_FETCH_TARBALLS
+TARFILE_LOCATION
+ENABLE_FONTCONFIG
+ENABLE_CUPS
+BUILD_EPM
+DISABLE_NEON
+DISABLE_SAXON
+DISABLE_LIBWPD
+DISABLE_HYPHEN
+DISABLE_HUNSPELL
+DISABLE_STRIP
+ENABLE_SYMBOLS
+PROEXT
+PROFULLSWITCH
+PRODUCT
+ENABLE_DEBUG
+ENABLE_WERROR
+VC_STANDARD
+ENABLE_CRASHDUMP
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+PTHREAD_LIBS
+PTHREAD_CFLAGS
+OSVERSION
+GNUTAR
+target_os
+target_vendor
+target_cpu
+target
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+SOURCEVERSION
+UPD
+_solenv
+LOCAL_SOLENV
+SED
+AWK
+EGREP
+GREP
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
 ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+with_gnu_patch
+with_agg
+with_gnu_cp
+with_gperf
+enable_graphite
+with_system_graphite
+enable_ldap
+enable_fetch_external
+with_external_tar
+with_openldap
+enable_lockdown
+enable_vba
+with_vba_package_format
+enable_pch
+enable_mozilla
+with_fonts
+with_ppds
+with_afms
+enable_epm
+with_epm
+with_package_format
+enable_odk
+enable_mathmldtd
+enable_evolution2
+with_system_stdlibs
+enable_cups
+enable_fontconfig
+enable_directx
+enable_activex
+enable_atl
+enable_symbols
+enable_strip_solver
+enable_werror
+enable_debug
+enable_dbgutil
+enable_crashdump
+enable_cl_standard
+enable_gtk
+enable_gstreamer
+enable_systray
+enable_cairo
+with_system_cairo
+enable_cairo_canvas
+enable_librsvg
+enable_opengl
+enable_dbus
+enable_gconf
+enable_gnome_vfs
+enable_gio
+enable_static_gtk
+enable_layout
+enable_build_mozilla
+with_mozilla_version
+with_mozilla_toolkit
+enable_nss_module
+enable_kde
+enable_kdeab
+enable_kde4
+enable_binfilter
+enable_rpath
+enable_pam
+enable_pam_link
+enable_crypt_link
+enable_xrender_link
+enable_randr
+enable_randr_link
+with_myspell_dicts
+with_system_dicts
+with_external_dict_dir
+with_external_hyph_dir
+with_external_thes_dir
+with_system_libs
+with_system_headers
+with_system_jars
+with_system_zlib
+with_system_openssl
+with_system_jpeg
+with_system_expat
+with_system_libwpd
+with_system_libxml
+with_system_python
+with_system_icu
+with_system_poppler
+with_system_db
+with_system_lucene
+with_lucene_core_jar
+with_lucene_analyzers_jar
+enable_mysql_connector
+with_system_mysql
+with_libmysql_path
+with_system_mysql_cppconn
+with_system_hsqldb
+with_hsqldb_jar
+with_system_beanshell
+with_beanshell_jar
+enable_presenter_extra_ui
+enable_minimizer
+enable_presenter_console
+enable_pdfimport
+enable_wiki_publisher
+with_commons_codec_jar
+with_commons_lang_jar
+with_commons_httpclient_jar
+with_commons_logging_jar
+with_servlet_api_jar
+enable_report_builder
+with_system_jfreereport
+with_sac_jar
+with_libxml_jar
+with_flute_jar
+with_jfreereport_jar
+with_liblayout_jar
+with_libloader_jar
+with_libformula_jar
+with_librepository_jar
+with_libfonts_jar
+with_libserializer_jar
+with_libbase_jar
+with_system_saxon
+with_saxon_jar
+with_system_libxslt
+with_system_odbc
+with_system_sane
+with_system_xrender
+with_system_curl
+with_system_boost
+with_system_mdds
+with_system_vigra
+enable_neon
+enable_Xaw
+with_system_neon
+with_system_agg
+with_system_hunspell
+with_system_mythes
+with_system_altlinuxhyph
+with_system_lpsolve
+with_system_libtextcat
+with_external_libtextcat_data
+with_system_cppunit
+with_system_redland
+with_system_mozilla
+with_stlport
+with_jdk_home
+with_gxx_include_path
+with_java
+enable_gcjaot
+with_ant_home
+with_junit
+with_perl_home
+with_cl_home
+with_mspdb_path
+with_midl_path
+with_csc_path
+with_nsis_path
+with_frame_home
+with_psdk_home
+with_directx_home
+with_mozilla_build
+with_local_solenv
+with_local_solver
+enable_check_only
+enable_ccache_skip
+with_lang
+with_poor_help_localizations
+with_dict
+with_intro_bitmaps
+with_about_bitmaps
+with_vendor
+with_unix_wrapper
+with_asm_home
+with_os_version
+with_unzip_home
+with_zip_home
+with_mingwin
+with_build_version
+with_alloc
+enable_verbose
+enable_dependency_tracking
+enable_copyleft
+enable_largefile
+with_x
+'
       ac_precious_vars='build_alias
 host_alias
 target_alias
@@ -1135,6 +1306,8 @@ GOBJECT_LIBS'
 # Initialize some variables set by options.
 ac_init_help=
 ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
 # The variables have the same names as the options, with
 # dashes changed to underlines.
 cache_file=/dev/null
@@ -1190,8 +1363,9 @@ do
   fi
 
   case $ac_option in
-  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *)	ac_optarg=yes ;;
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+  *=)   ac_optarg= ;;
+  *)    ac_optarg=yes ;;
   esac
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1233,13 +1407,20 @@ do
     datarootdir=$ac_optarg ;;
 
   -disable-* | --disable-*)
-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
-   { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
-    eval enable_$ac_feature=no ;;
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid feature name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"enable_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval enable_$ac_useropt=no ;;
 
   -docdir | --docdir | --docdi | --doc | --do)
     ac_prev=docdir ;;
@@ -1252,13 +1433,20 @@ do
     dvidir=$ac_optarg ;;
 
   -enable-* | --enable-*)
-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
-   { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
-    eval enable_$ac_feature=\$ac_optarg ;;
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid feature name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"enable_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval enable_$ac_useropt=\$ac_optarg ;;
 
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -1449,22 +1637,36 @@ do
     ac_init_version=: ;;
 
   -with-* | --with-*)
-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
-   { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
-    eval with_$ac_package=\$ac_optarg ;;
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid package name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"with_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval with_$ac_useropt=\$ac_optarg ;;
 
   -without-* | --without-*)
-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
-   { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
-    eval with_$ac_package=no ;;
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid package name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"with_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval with_$ac_useropt=no ;;
 
   --x)
     # Obsolete; use --with-x.
@@ -1484,26 +1686,26 @@ do
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries=$ac_optarg ;;
 
-  -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
-   { (exit 1); exit 1; }; }
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
     ;;
 
   *=*)
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
-   { (exit 1); exit 1; }; }
+    case $ac_envvar in #(
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+    esac
     eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;
 
   *)
     # FIXME: should be removed in autoconf 3.0.
-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     ;;
 
   esac
@@ -1511,23 +1713,36 @@ done
 
 if test -n "$ac_prev"; then
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  { echo "$as_me: error: missing argument to $ac_option" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+  case $enable_option_checking in
+    no) ;;
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+  esac
 fi
 
-# Be sure to have absolute directory names.
+# Check all directory arguments for consistency.
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
+  # Remove trailing slashes.
+  case $ac_val in
+    */ )
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+      eval $ac_var=\$ac_val;;
+  esac
+  # Be sure to have absolute directory names.
   case $ac_val in
     [\\/$]* | ?:[\\/]* )  continue;;
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   esac
-  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 done
 
 # There might be people who depend on the old broken behavior: `$host'
@@ -1541,8 +1756,8 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used." >&2
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
+    If a cross compiler is detected then cross compile mode will be used" >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -1557,23 +1772,21 @@ test "$silent" = yes && exec 6>/dev/null
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  { echo "$as_me: error: Working directory cannot be determined" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "working directory cannot be determined"
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  { echo "$as_me: error: pwd does not report name of working directory" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "pwd does not report name of working directory"
 
 
 # Find the source files, if location was not specified.
 if test -z "$srcdir"; then
   ac_srcdir_defaulted=yes
   # Try the directory containing this script, then the parent directory.
-  ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$0" : 'X\(//\)[^/]' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
+  ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+	 X"$as_myself" : 'X\(//\)[^/]' \| \
+	 X"$as_myself" : 'X\(//\)$' \| \
+	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 	    s//\1/
 	    q
@@ -1600,13 +1813,11 @@ else
 fi
 if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 fi
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 ac_abs_confdir=`(
-	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
-   { (exit 1); exit 1; }; }
+	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 	pwd)`
 # When building in place, set srcdir=.
 if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1646,7 +1857,7 @@ Configuration:
       --help=short        display options specific to this package
       --help=recursive    display the short help of all the included packages
   -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking...' messages
+  -q, --quiet, --silent   do not print \`checking ...' messages
       --cache-file=FILE   cache test results in FILE [disabled]
   -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files
@@ -1654,9 +1865,9 @@ Configuration:
 
 Installation directories:
   --prefix=PREFIX         install architecture-independent files in PREFIX
-			  [$ac_default_prefix]
+                          [$ac_default_prefix]
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
-			  [PREFIX]
+                          [PREFIX]
 
 By default, \`make install' will install all the files in
 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
@@ -1666,25 +1877,25 @@ for instance \`--prefix=\$HOME'.
 For better control, use the options below.
 
 Fine tuning of the installation directories:
-  --bindir=DIR           user executables [EPREFIX/bin]
-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
-  --libexecdir=DIR       program executables [EPREFIX/libexec]
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
-  --libdir=DIR           object code libraries [EPREFIX/lib]
-  --includedir=DIR       C header files [PREFIX/include]
-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
-  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
-  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
-  --infodir=DIR          info documentation [DATAROOTDIR/info]
-  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
-  --mandir=DIR           man documentation [DATAROOTDIR/man]
-  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
-  --htmldir=DIR          html documentation [DOCDIR]
-  --dvidir=DIR           dvi documentation [DOCDIR]
-  --pdfdir=DIR           pdf documentation [DOCDIR]
-  --psdir=DIR            ps documentation [DOCDIR]
+  --bindir=DIR            user executables [EPREFIX/bin]
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
+  --libdir=DIR            object code libraries [EPREFIX/lib]
+  --includedir=DIR        C header files [PREFIX/include]
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
+  --htmldir=DIR           html documentation [DOCDIR]
+  --dvidir=DIR            dvi documentation [DOCDIR]
+  --pdfdir=DIR            pdf documentation [DOCDIR]
+  --psdir=DIR             ps documentation [DOCDIR]
 _ACEOF
 
   cat <<\_ACEOF
@@ -1705,6 +1916,7 @@ if test -n "$ac_init_help"; then
   cat <<\_ACEOF
 
 Optional Features:
+  --disable-option-checking  ignore unrecognized --enable/--with options
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-graphite       Enables the compilation of Graphite smart font rendering
@@ -1738,7 +1950,7 @@ Optional Features:
   --enable-evolution2     Allows the built-in evolution 2 addressbook
                           connectivity build to be enabled.
 
-  --disable-cups          disable cups support in the psprint project
+  --disable-cups          disable CUPS support (for printing on UNIX)
 
   --disable-fontconfig    disable support for the fontconfig library
 
@@ -1928,6 +2140,8 @@ Optional Packages:
 
   --with-gnu-cp           Specify location of GNU cp on Solaris or FreeBSD
 
+  --with-gperf           Specify location of gperf on Solaris or FreeBSD
+
   --with-system-graphite    use graphite library already installed on system
 
   --with-external-tar=<TARFILE PATH>   Specify path to tarfiles manually
@@ -2171,352 +2385,1191 @@ Optional Packages:
                           Note that this is not the location of the compiler
                           binary but the location of the entire distribution.
 
-                          Usage: --with-cl-home=<absolute path to Microsoft C/C++ compiler home>
+                          Usage: --with-cl-home=<absolute path to Microsoft C/C++ compiler home>
+
+  --with-mspdb-path       For Microsoft C/C++ compiler users, please supply the
+                          path pointing to the mspdb71.dll (.NET 2003).
+
+                          Usage: --with-mspdb-path=<absolute path to mspdb71.dll>
+
+  --with-midl-path        For Microsoft C/C++ .NET compiler users, please supply
+                          the path pointing to the midl.exe.
+
+                          Usage: --with-midl-path=<absolute path to midl.exe>
+
+  --with-csc-path         For Microsoft C/C++ .NET compiler users, please supply
+                          the path pointing to the csc.exe.
+
+                          Usage: --with-csc-path=<absolute path to csc.exe>
+
+  --with-nsis-path        For Windows users, please supply the path to the
+                          "Nullsoft Scriptable Install System" (NSIS). If NSIS
+                          is found in the path or this option is supplied a self
+                          contained executable installer for OpenOffice.org will
+                          be created.
+
+                          Usage: --with-nsis-path=<absolute path to nsis.exe>
+
+  --with-frame-home       For Microsoft C/C++ .NET compiler users, please supply
+                          the path pointing to lib/mscoree.lib, usually
+                          something like:
+                          "/cygdrive/c/Program Files/Microsoft Visual Studio .NET/FrameworkSDK"
+
+                          MS Visual Toolkit compiler users, please supply the
+                          path pointing to lib/msvcrt.lib, usually something
+                          like:
+                          "/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7"
+
+                          Usage: --with-frame-home=<absolute path to Framework SDK [home]>
+
+  --with-psdk-home        For Windows users, please supply the path to the
+                          Microsoft Platform SDK.
+
+                          Usage: --with-psdk-home=<absolute path to Microsoft Platform SDK>
+
+  --with-directx-home     For Windows users, please supply the path to the
+                          Microsoft DirectX SDK.
+
+                          Usage: --with-directx-home=<absolute path to Microsoft DirectX SDK>
+
+  --with-mozilla-build    For Windows users, please supply the path to the
+                          mozilla build tools.
+
+                          Usage: --with-mozilla-build=<absolute path to mozilla build tools>
+
+						  At the moment of this writing, an installer for the mozilla build tools
+						  can be obtained from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32.
+
+  --with-local-solenv     If you have solenv in a location other than ./solenv,
+                          please supply the path here.
+
+                          Usage: --with-local-solenv=<absolute path to solenv>
+
+  --with-local-solver     if you have solver in a location other than ./solver,
+                          please supply the path here.
+
+                          Usage: --with-local-solver=<absolute path to solver>
+
+  --with-lang             Use this option to build OpenOffice.org with
+                          additional language support. English (US) is always
+                          included by default. Separate multiple languages with
+                          space. For all languages, use --with-lang=ALL.
+
+                          Usage: --with-lang="es sw tu cs sk"
+
+  --with-poor-help-localizations
+                           Use this option to specify which languages have
+                          unusable help localizations. Separate multiple
+                          languages with space.
+
+                          Usage: --with-poor-help-localizations="af ar be-BY ca"
+
+  --with-dict             Use this option to build OpenOffice.org with
+                          dictionary support. ALL dictionaries are always
+                          included by default unless overridden with
+                          this option. Separate multiple dictionaries with
+                          commas. For all dictionaries, use --with-dict=ALL.
+
+                          Usage: --with-dict=ENGB,ENUS,ITIT
+
+  --with-intro-bitmaps    Prefer the specified intro bitmaps over the
+                          the default one.  Can be more than one (separated by
+                          commas), the order means priority of fallback if the
+                          first does not exist (in the installed tree).
+
+                          Usage: --with-intro-bitmaps=/path/my_ooo_intro.bmp
+
+  --with-about-bitmaps    Similarly to --with-intro-bitmaps, this allows
+                          specification of bitmaps for the About box.
+
+                          Usage: --with-about-bitmaps=/path/my_ooo_about.bmp
+
+  --with-vendor           Set vendor of the build.
+
+                          Usage: --with-vendor="John the Builder"
+
+  --with-unix-wrapper    Redefines the name of the UNIX wrapper that will be used
+                          in the desktop files and in the desktop-integration RPMs.
+
+                          Usage: --with-unix-wrapper=ooffice
+
+  --with-asm-home         For Windows users, please supply the path for the
+                          ml.exe assembler.
+
+                          Usage: --with-asm-home=<path to ml.exe directory>
+
+  --with-os-version       For FreeBSD users, use this option option to override
+                          the detected OSVERSION.
+
+                          Usage: --with-os-version=<OSVERSION>
+
+  --with-unzip-home       Deprecated: use --with-zip-home instead
+  --with-zip-home         If you use a non standard zip, for example windows
+                          please supply the path for zip
+
+                          Usage: --with-zip-home=<path to zip executable>
+
+  --with-mingwin          For Windows users, use the mingwin32 compiler within
+                          cygwin environment
+
+                          Usage: --with-mingwin=yes
+
+                          For !Windows use, use the mingw32 C++ compiler to
+                          (re-) build unowinreg.dll. Specify the MinGW C++
+                          Compilers name.
+
+                          Usage: --with-mingwin=i586-mingw32msvc-g++
+
+  --with-build-version    Allows the builder to add a custom version tag
+                          that will appear in the Help/About box for QA
+                          purposes.
+
+                          Usage: --with-build-version="Built by Jim"
 
-  --with-mspdb-path       For Microsoft C/C++ compiler users, please supply the
-                          path pointing to the mspdb71.dll (.NET 2003).
+  --with-alloc            Define which allocator to build with
+                          (choices are oo, system, tcmalloc, jemalloc)
 
-                          Usage: --with-mspdb-path=<absolute path to mspdb71.dll>
+                          Note that on FreeBSD/NetBSD system==jemalloc
 
-  --with-midl-path        For Microsoft C/C++ .NET compiler users, please supply
-                          the path pointing to the midl.exe.
+  --with-x                use the X Window System
 
-                          Usage: --with-midl-path=<absolute path to midl.exe>
+Some influential environment variables:
+  PKG_CONFIG  path to pkg-config utility
+  PKG_CONFIG_PATH
+              directories to add to pkg-config's search path
+  PKG_CONFIG_LIBDIR
+              path overriding pkg-config's built-in search path
+  CC          C compiler command
+  CFLAGS      C compiler flags
+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
+              nonstandard directory <lib dir>
+  LIBS        libraries to pass to the linker, e.g. -l<library>
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+              you have headers in a nonstandard directory <include dir>
+  CPP         C preprocessor
+  CXX         C++ compiler command
+  CXXFLAGS    C++ compiler flags
+  CXXCPP      C++ preprocessor
+  LIBWPD_CFLAGS
+              C compiler flags for LIBWPD, overriding pkg-config
+  LIBWPD_LIBS linker flags for LIBWPD, overriding pkg-config
+  CPPUNIT_CFLAGS
+              C compiler flags for CPPUNIT, overriding pkg-config
+  CPPUNIT_LIBS
+              linker flags for CPPUNIT, overriding pkg-config
+  FREETYPE_CFLAGS
+              C compiler flags for FREETYPE, overriding pkg-config
+  FREETYPE_LIBS
+              linker flags for FREETYPE, overriding pkg-config
+  LIBXSLT_CFLAGS
+              C compiler flags for LIBXSLT, overriding pkg-config
+  LIBXSLT_LIBS
+              linker flags for LIBXSLT, overriding pkg-config
+  LIBXML_CFLAGS
+              C compiler flags for LIBXML, overriding pkg-config
+  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
+  MOZ_NSS_CFLAGS
+              C compiler flags for MOZ_NSS, overriding pkg-config
+  MOZ_NSS_LIBS
+              linker flags for MOZ_NSS, overriding pkg-config
+  MOZ_NSPR_CFLAGS
+              C compiler flags for MOZ_NSPR, overriding pkg-config
+  MOZ_NSPR_LIBS
+              linker flags for MOZ_NSPR, overriding pkg-config
+  MOZILLAXPCOM_CFLAGS
+              C compiler flags for MOZILLAXPCOM, overriding pkg-config
+  MOZILLAXPCOM_LIBS
+              linker flags for MOZILLAXPCOM, overriding pkg-config
+  MOZGTK2_CFLAGS
+              C compiler flags for MOZGTK2, overriding pkg-config
+  MOZGTK2_LIBS
+              linker flags for MOZGTK2, overriding pkg-config
+  MOZLIBREQ_CFLAGS
+              C compiler flags for MOZLIBREQ, overriding pkg-config
+  MOZLIBREQ_LIBS
+              linker flags for MOZLIBREQ, overriding pkg-config
+  GRAPHITE_CFLAGS
+              C compiler flags for GRAPHITE, overriding pkg-config
+  GRAPHITE_LIBS
+              linker flags for GRAPHITE, overriding pkg-config
+  XMKMF       Path to xmkmf, Makefile generator for X Window System
+  XRANDR_CFLAGS
+              C compiler flags for XRANDR, overriding pkg-config
+  XRANDR_LIBS linker flags for XRANDR, overriding pkg-config
+  NEON_CFLAGS C compiler flags for NEON, overriding pkg-config
+  NEON_LIBS   linker flags for NEON, overriding pkg-config
+  OPENSSL_CFLAGS
+              C compiler flags for OPENSSL, overriding pkg-config
+  OPENSSL_LIBS
+              linker flags for OPENSSL, overriding pkg-config
+  AGG_CFLAGS  C compiler flags for AGG, overriding pkg-config
+  AGG_LIBS    linker flags for AGG, overriding pkg-config
+  REDLAND_CFLAGS
+              C compiler flags for REDLAND, overriding pkg-config
+  REDLAND_LIBS
+              linker flags for REDLAND, overriding pkg-config
+  HUNSPELL_CFLAGS
+              C compiler flags for HUNSPELL, overriding pkg-config
+  HUNSPELL_LIBS
+              linker flags for HUNSPELL, overriding pkg-config
+  MYTHES_CFLAGS
+              C compiler flags for MYTHES, overriding pkg-config
+  MYTHES_LIBS linker flags for MYTHES, overriding pkg-config
+  GCONF_CFLAGS
+              C compiler flags for GCONF, overriding pkg-config
+  GCONF_LIBS  linker flags for GCONF, overriding pkg-config
+  GNOMEVFS_CFLAGS
+              C compiler flags for GNOMEVFS, overriding pkg-config
+  GNOMEVFS_LIBS
+              linker flags for GNOMEVFS, overriding pkg-config
+  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
+  GTK_LIBS    linker flags for GTK, overriding pkg-config
+  GTHREAD_CFLAGS
+              C compiler flags for GTHREAD, overriding pkg-config
+  GTHREAD_LIBS
+              linker flags for GTHREAD, overriding pkg-config
+  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
+  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
+  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
+  GIO_LIBS    linker flags for GIO, overriding pkg-config
+  GSTREAMER_CFLAGS
+              C compiler flags for GSTREAMER, overriding pkg-config
+  GSTREAMER_LIBS
+              linker flags for GSTREAMER, overriding pkg-config
+  CAIRO_CFLAGS
+              C compiler flags for CAIRO, overriding pkg-config
+  CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
+  LIBRSVG_CFLAGS
+              C compiler flags for LIBRSVG, overriding pkg-config
+  LIBRSVG_LIBS
+              linker flags for LIBRSVG, overriding pkg-config
+  POPPLER_CFLAGS
+              C compiler flags for POPPLER, overriding pkg-config
+  POPPLER_LIBS
+              linker flags for POPPLER, overriding pkg-config
+  GOBJECT_CFLAGS
+              C compiler flags for GOBJECT, overriding pkg-config
+  GOBJECT_LIBS
+              linker flags for GOBJECT, overriding pkg-config
 
-  --with-csc-path         For Microsoft C/C++ .NET compiler users, please supply
-                          the path pointing to the csc.exe.
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
 
-                          Usage: --with-csc-path=<absolute path to csc.exe>
+Report bugs to the package provider.
+_ACEOF
+ac_status=$?
+fi
 
-  --with-nsis-path        For Windows users, please supply the path to the
-                          "Nullsoft Scriptable Install System" (NSIS). If NSIS
-                          is found in the path or this option is supplied a self
-                          contained executable installer for OpenOffice.org will
-                          be created.
+if test "$ac_init_help" = "recursive"; then
+  # If there are subdirs, report their specific --help.
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+    test -d "$ac_dir" ||
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+      continue
+    ac_builddir=.
 
-                          Usage: --with-nsis-path=<absolute path to nsis.exe>
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+  # A ".." for each directory in $ac_dir_suffix.
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+  case $ac_top_builddir_sub in
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+  esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
 
-  --with-frame-home       For Microsoft C/C++ .NET compiler users, please supply
-                          the path pointing to lib/mscoree.lib, usually
-                          something like:
-                          "/cygdrive/c/Program Files/Microsoft Visual Studio .NET/FrameworkSDK"
+case $srcdir in
+  .)  # We are building in place.
+    ac_srcdir=.
+    ac_top_srcdir=$ac_top_builddir_sub
+    ac_abs_top_srcdir=$ac_pwd ;;
+  [\\/]* | ?:[\\/]* )  # Absolute name.
+    ac_srcdir=$srcdir$ac_dir_suffix;
+    ac_top_srcdir=$srcdir
+    ac_abs_top_srcdir=$srcdir ;;
+  *) # Relative name.
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
-                          MS Visual Toolkit compiler users, please supply the
-                          path pointing to lib/msvcrt.lib, usually something
-                          like:
-                          "/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7"
+    cd "$ac_dir" || { ac_status=$?; continue; }
+    # Check for guested configure.
+    if test -f "$ac_srcdir/configure.gnu"; then
+      echo &&
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+    elif test -f "$ac_srcdir/configure"; then
+      echo &&
+      $SHELL "$ac_srcdir/configure" --help=recursive
+    else
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+    fi || ac_status=$?
+    cd "$ac_pwd" || { ac_status=$?; break; }
+  done
+fi
 
-                          Usage: --with-frame-home=<absolute path to Framework SDK [home]>
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+  cat <<\_ACEOF
+configure
+generated by GNU Autoconf 2.68
 
-  --with-psdk-home        For Windows users, please supply the path to the
-                          Microsoft Platform SDK.
+Copyright (C) 2010 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+  exit
+fi
 
-                          Usage: --with-psdk-home=<absolute path to Microsoft Platform SDK>
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+# ac_fn_c_try_compile LINENO
+# --------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext
+  if { { ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compile") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-  --with-directx-home     For Windows users, please supply the path to the
-                          Microsoft DirectX SDK.
+	ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
-                          Usage: --with-directx-home=<absolute path to Microsoft DirectX SDK>
+} # ac_fn_c_try_compile
 
-  --with-mozilla-build    For Windows users, please supply the path to the
-                          mozilla build tools.
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext conftest$ac_exeext
+  if { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext && {
+	 test "$cross_compiling" = yes ||
+	 $as_test_x conftest$ac_exeext
+       }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-                          Usage: --with-mozilla-build=<absolute path to mozilla build tools>
+	ac_retval=1
+fi
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+  # interfere with the next link command; also delete a directory that is
+  # left behind by Apple's compiler.  We do this before executing the actions.
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
-						  At the moment of this writing, an installer for the mozilla build tools
-						  can be obtained from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32.
+} # ac_fn_c_try_link
 
-  --with-local-solenv     If you have solenv in a location other than ./solenv,
-                          please supply the path here.
+# ac_fn_c_try_cpp LINENO
+# ----------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } > conftest.i && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+    ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
-                          Usage: --with-local-solenv=<absolute path to solenv>
+} # ac_fn_c_try_cpp
 
-  --with-local-solver     if you have solver in a location other than ./solver,
-                          please supply the path here.
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+  { { case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: program exited with status $ac_status" >&5
+       $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-                          Usage: --with-local-solver=<absolute path to solver>
+       ac_retval=$ac_status
+fi
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
-  --with-lang             Use this option to build OpenOffice.org with
-                          additional language support. English (US) is always
-                          included by default. Separate multiple languages with
-                          space. For all languages, use --with-lang=ALL.
+} # ac_fn_c_try_run
 
-                          Usage: --with-lang="es sw tu cs sk"
+# ac_fn_cxx_try_compile LINENO
+# ----------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext
+  if { { ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compile") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-  --with-poor-help-localizations
-                           Use this option to specify which languages have
-                          unusable help localizations. Separate multiple
-                          languages with space.
+	ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
-                          Usage: --with-poor-help-localizations="af ar be-BY ca"
+} # ac_fn_cxx_try_compile
 
-  --with-dict             Use this option to build OpenOffice.org with
-                          dictionary support. ALL dictionaries are always
-                          included by default unless overridden with
-                          this option. Separate multiple dictionaries with
-                          commas. For all dictionaries, use --with-dict=ALL.
+# ac_fn_cxx_try_cpp LINENO
+# ------------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_cpp ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } > conftest.i && {
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-                          Usage: --with-dict=ENGB,ENUS,ITIT
+    ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
-  --with-intro-bitmaps    Prefer the specified intro bitmaps over the
-                          the default one.  Can be more than one (separated by
-                          commas), the order means priority of fallback if the
-                          first does not exist (in the installed tree).
+} # ac_fn_cxx_try_cpp
 
-                          Usage: --with-intro-bitmaps=/path/my_ooo_intro.bmp
+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
+# --------------------------------------------
+# Tries to find the compile-time value of EXPR in a program that includes
+# INCLUDES, setting VAR accordingly. Returns whether the value could be
+# computed
+ac_fn_c_compute_int ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if test "$cross_compiling" = yes; then
+    # Depending upon the size, compute the lo and hi bounds.
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) >= 0)];
+test_array [0] = 0
 
-  --with-about-bitmaps    Similarly to --with-intro-bitmaps, this allows
-                          specification of bitmaps for the About box.
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_lo=0 ac_mid=0
+  while :; do
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
+test_array [0] = 0
 
-                          Usage: --with-about-bitmaps=/path/my_ooo_about.bmp
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_hi=$ac_mid; break
+else
+  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
+			if test $ac_lo -le $ac_mid; then
+			  ac_lo= ac_hi=
+			  break
+			fi
+			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+  done
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) < 0)];
+test_array [0] = 0
 
-  --with-vendor           Set vendor of the build.
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_hi=-1 ac_mid=-1
+  while :; do
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) >= $ac_mid)];
+test_array [0] = 0
 
-                          Usage: --with-vendor="John the Builder"
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_lo=$ac_mid; break
+else
+  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
+			if test $ac_mid -le $ac_hi; then
+			  ac_lo= ac_hi=
+			  break
+			fi
+			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+  done
+else
+  ac_lo= ac_hi=
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
+test_array [0] = 0
 
-  --with-unix-wrapper    Redefines the name of the UNIX wrapper that will be used
-                          in the desktop files and in the desktop-integration RPMs.
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_hi=$ac_mid
+else
+  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in #((
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
+'') ac_retval=1 ;;
+esac
+  else
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+static long int longval () { return $2; }
+static unsigned long int ulongval () { return $2; }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
 
-                          Usage: --with-unix-wrapper=ooffice
+  FILE *f = fopen ("conftest.val", "w");
+  if (! f)
+    return 1;
+  if (($2) < 0)
+    {
+      long int i = longval ();
+      if (i != ($2))
+	return 1;
+      fprintf (f, "%ld", i);
+    }
+  else
+    {
+      unsigned long int i = ulongval ();
+      if (i != ($2))
+	return 1;
+      fprintf (f, "%lu", i);
+    }
+  /* Do not output a trailing newline, as this causes \r\n confusion
+     on some platforms.  */
+  return ferror (f) || fclose (f) != 0;
 
-  --with-asm-home         For Windows users, please supply the path for the
-                          ml.exe assembler.
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
+else
+  ac_retval=1
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f conftest.val
 
-                          Usage: --with-asm-home=<path to ml.exe directory>
+  fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
-  --with-os-version       For FreeBSD users, use this option option to override
-                          the detected OSVERSION.
+} # ac_fn_c_compute_int
 
-                          Usage: --with-os-version=<OSVERSION>
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists and can be compiled using the include files in
+# INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$3=yes"
+else
+  eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_compile
+
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if eval \${$3+:} false; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+  $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+  # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_header_compiler=yes
+else
+  ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
 
-  --with-unzip-home       Deprecated: use --with-zip-home instead
-  --with-zip-home         If you use a non standard zip, for example windows
-                          please supply the path for zip
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */

[... 34610 lines stripped ...]


Mime
View raw message