You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 07:34:03 UTC

svn commit: r1131793 [2/3] - in /incubator/mesos/trunk: ./ src/ src/third_party/glog-0.3.0/ src/third_party/glog-0.3.0/doc/ src/third_party/glog-0.3.0/m4/ src/third_party/glog-0.3.0/packages/ src/third_party/glog-0.3.0/packages/deb/ src/third_party/glo...

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/configure (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/configure)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/configure?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/configure&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/configure&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
--- incubator/mesos/trunk/src/third_party/glog-0.3.0/configure (original)
+++ incubator/mesos/trunk/src/third_party/glog-0.3.1/configure Sun Jun  5 05:33:57 2011
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for glog 0.3.0.
+# Generated by GNU Autoconf 2.61 for glog 0.3.1.
 #
 # Report bugs to <op...@google.com>.
 #
@@ -728,8 +728,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 # Identity of this package.
 PACKAGE_NAME='glog'
 PACKAGE_TARNAME='glog'
-PACKAGE_VERSION='0.3.0'
-PACKAGE_STRING='glog 0.3.0'
+PACKAGE_VERSION='0.3.1'
+PACKAGE_STRING='glog 0.3.1'
 PACKAGE_BUGREPORT='opensource@google.com'
 
 ac_unique_file="README"
@@ -1430,7 +1430,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures glog 0.3.0 to adapt to many kinds of systems.
+\`configure' configures glog 0.3.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1500,7 +1500,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of glog 0.3.0:";;
+     short | recursive ) echo "Configuration of glog 0.3.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1609,7 +1609,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-glog configure 0.3.0
+glog configure 0.3.1
 generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1623,7 +1623,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by glog $as_me 0.3.0, which was
+It was created by glog $as_me 0.3.1, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
@@ -2316,7 +2316,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='glog'
- VERSION='0.3.0'
+ VERSION='0.3.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -2465,6 +2465,13 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
 ac_config_headers="$ac_config_headers src/config.h"
 
 
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+
 # Checks for programs.
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
@@ -3379,11 +3386,11 @@ echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; 
 esac
 
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 DEPDIR="${am__leading_dot}deps"
 
 ac_config_commands="$ac_config_commands depfiles"
@@ -3779,11 +3786,11 @@ See \`config.log' for more details." >&2
    { (exit 1); exit 1; }; }
 fi
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
@@ -4143,11 +4150,11 @@ else
     CXXFLAGS=
   fi
 fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 depcc="$CXX"  am_compiler_list=
 
@@ -5043,6 +5050,7 @@ LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 compiler=$CC
 
 
+
 # Check whether --enable-libtool-lock was given.
 if test "${enable_libtool_lock+set}" = set; then
   enableval=$enable_libtool_lock;
@@ -5074,7 +5082,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 5077 "configure"' > conftest.$ac_ext
+  echo '#line 5085 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -5886,7 +5894,6 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 fi
 
-
 ac_ext=f
 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
@@ -6141,11 +6148,11 @@ else
 fi
 
 G77=`test $ac_compiler_gnu = yes && echo yes`
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
 
@@ -7281,7 +7288,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -7429,11 +7436,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7432: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:7439: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:7436: \$? = $ac_status" >&5
+   echo "$as_me:7443: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -7719,11 +7726,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7722: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:7729: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:7726: \$? = $ac_status" >&5
+   echo "$as_me:7733: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -7823,11 +7830,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7826: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:7833: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:7830: \$? = $ac_status" >&5
+   echo "$as_me:7837: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -10200,7 +10207,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 10203 "configure"
+#line 10210 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10300,7 +10307,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 10303 "configure"
+#line 10310 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10930,11 +10937,11 @@ else
 fi
 
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 CC="$lt_save_CC"
 
@@ -12701,11 +12708,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12704: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12711: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:12708: \$? = $ac_status" >&5
+   echo "$as_me:12715: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -12805,11 +12812,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12808: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12815: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:12812: \$? = $ac_status" >&5
+   echo "$as_me:12819: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -13991,11 +13998,11 @@ else
 fi
 
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 CC=$lt_save_CC
 LDCXX=$LD
@@ -14403,11 +14410,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14406: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14413: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:14410: \$? = $ac_status" >&5
+   echo "$as_me:14417: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -14507,11 +14514,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14510: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14517: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:14514: \$? = $ac_status" >&5
+   echo "$as_me:14521: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -16625,11 +16632,11 @@ else
 fi
 
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 CC="$lt_save_CC"
 
@@ -16727,11 +16734,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:16730: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:16737: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:16734: \$? = $ac_status" >&5
+   echo "$as_me:16741: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -17017,11 +17024,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17020: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:17027: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:17024: \$? = $ac_status" >&5
+   echo "$as_me:17031: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -17121,11 +17128,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17124: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:17131: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:17128: \$? = $ac_status" >&5
+   echo "$as_me:17135: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -17613,7 +17620,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -17679,7 +17686,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -19259,11 +19266,11 @@ else
 fi
 
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 CC="$lt_save_CC"
 
@@ -19745,11 +19752,11 @@ else
 fi
 
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 CC="$lt_save_CC"
 
@@ -19814,6 +19821,7 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo
 
 
 # Check whether some low-level functions/files are available
+
 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 if test "${ac_cv_header_stdc+set}" = set; then
@@ -19852,7 +19860,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_cv_header_stdc=yes
@@ -20025,7 +20033,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -20064,7 +20072,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -20080,7 +20088,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -20162,7 +20170,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -20201,7 +20209,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -20217,7 +20225,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -20299,7 +20307,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -20338,7 +20346,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -20354,7 +20362,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -20441,7 +20449,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -20480,7 +20488,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -20496,7 +20504,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -20588,7 +20596,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -20627,7 +20635,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -20643,7 +20651,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -20733,7 +20741,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -20772,7 +20780,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -20788,7 +20796,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -20879,7 +20887,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -20918,7 +20926,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -20934,7 +20942,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -21025,7 +21033,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -21064,7 +21072,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -21080,7 +21088,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -21125,7 +21133,9 @@ if test `eval echo '${'$as_ac_Header'}'`
   cat >>confdefs.h <<_ACEOF
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
-
+ ac_cv_have_libunwind_h=1
+else
+  ac_cv_have_libunwind_h=0
 fi
 
 done
@@ -21170,7 +21180,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -21209,7 +21219,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -21225,7 +21235,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -21315,7 +21325,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -21354,7 +21364,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -21370,7 +21380,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -21460,7 +21470,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -21499,7 +21509,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -21515,7 +21525,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -21605,7 +21615,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -21644,7 +21654,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -21660,7 +21670,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -21750,7 +21760,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -21789,7 +21799,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -21805,7 +21815,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -21895,7 +21905,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
@@ -21934,7 +21944,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        }; then
   ac_header_preproc=yes
@@ -21950,7 +21960,7 @@ rm -f conftest.err conftest.$ac_ext
 echo "${ECHO_T}$ac_header_preproc" >&6; }
 
 # So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
   yes:no: )
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
@@ -22039,7 +22049,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_cv_type_void_p=yes
@@ -22098,7 +22108,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_lo=0 ac_mid=0
@@ -22135,7 +22145,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_hi=$ac_mid; break
@@ -22189,7 +22199,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_hi=-1 ac_mid=-1
@@ -22226,7 +22236,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_lo=$ac_mid; break
@@ -22290,7 +22300,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_hi=$ac_mid
@@ -22447,7 +22457,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_cv_type_uint16_t=yes
@@ -22506,7 +22516,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_cv_type_u_int16_t=yes
@@ -22565,7 +22575,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_cv_type___uint16=yes
@@ -22651,7 +22661,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -22740,7 +22750,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -22829,7 +22839,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -22893,7 +22903,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_cv___attribute__=yes
@@ -22963,7 +22973,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   ac_cv___builtin_expect=yes
@@ -23030,7 +23040,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -23062,7 +23072,9 @@ echo "${ECHO_T}$ac_cv___sync_val_compare
 # (This isn't needed on i386, where -fno-omit-frame-pointer is the default).
 # Check whether --enable-frame_pointers was given.
 if test "${enable_frame_pointers+set}" = set; then
-  enableval=$enable_frame_pointers; enable_frame_pointers=no
+  enableval=$enable_frame_pointers;
+else
+  enable_frame_pointers=no
 fi
 
 cat >conftest.$ac_ext <<_ACEOF
@@ -23094,7 +23106,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
   is_x86_64=yes
@@ -23828,11 +23840,11 @@ else
         acx_pthread_ok=no
 
 fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
 if test x"$acx_pthread_ok" = x"yes"; then
@@ -23882,7 +23894,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -23961,7 +23973,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -24164,7 +24176,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
@@ -24255,11 +24267,11 @@ sed 's/^/| /' conftest.$ac_ext >&5
 fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
 fi
@@ -24330,11 +24342,11 @@ sed 's/^/| /' conftest.$ac_ext >&5
 fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-                  ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+                  ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 fi
 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
@@ -24441,11 +24453,11 @@ sed 's/^/| /' conftest.$ac_ext >&5
 fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 fi
 { echo "$as_me:$LINENO: result: $ac_cv_cxx_stl_namespace" >&5
@@ -24557,11 +24569,11 @@ sed 's/^/| /' conftest.$ac_ext >&5
 fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 fi
 { echo "$as_me:$LINENO: result: $ac_cv_cxx_using_operator" >&5
@@ -24574,7 +24586,297 @@ _ACEOF
 
   fi
 
-{ echo "$as_me:$LINENO: checking how to access the program counter from a struct ucontext" >&5
+
+for ac_header in ucontext.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+  # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+  yes:no: )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+    ac_header_preproc=yes
+    ;;
+  no:yes:* )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+    ( cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to opensource@google.com ##
+## ------------------------------------ ##
+_ASBOX
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in sys/ucontext.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+  # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+  yes:no: )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+    ac_header_preproc=yes
+    ;;
+  no:yes:* )
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+    ( cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to opensource@google.com ##
+## ------------------------------------ ##
+_ASBOX
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+       # ucontext on OS X 10.6 (at least)
+   { echo "$as_me:$LINENO: checking how to access the program counter from a struct ucontext" >&5
 echo $ECHO_N "checking how to access the program counter from a struct ucontext... $ECHO_C" >&6; }
    pc_fields="           uc_mcontext.gregs[REG_PC]"  # Solaris x86 (32 + 64 bit)
    pc_fields="$pc_fields uc_mcontext.gregs[REG_EIP]" # Linux (i386)
@@ -24596,14 +24898,15 @@ echo $ECHO_N "checking how to access the
    pc_field_found=false
    for pc_field in $pc_fields; do
      if ! $pc_field_found; then
-       cat >conftest.$ac_ext <<_ACEOF
+       if test "x$ac_cv_header_sys_ucontext_h" = xyes; then
+         cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #define _GNU_SOURCE 1
-                       #include <ucontext.h>
+                         #include <sys/ucontext.h>
 int
 main ()
 {
@@ -24626,7 +24929,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
@@ -24634,9 +24937,9 @@ cat >>confdefs.h <<_ACEOF
 #define PC_FROM_UCONTEXT $pc_field
 _ACEOF
 
-                      { echo "$as_me:$LINENO: result: $pc_field" >&5
+                        { echo "$as_me:$LINENO: result: $pc_field" >&5
 echo "${ECHO_T}$pc_field" >&6; }
-                      pc_field_found=true
+                        pc_field_found=true
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
@@ -24645,6 +24948,57 @@ sed 's/^/| /' conftest.$ac_ext >&5
 fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+       else
+         cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#define _GNU_SOURCE 1
+                         #include <ucontext.h>
+int
+main ()
+{
+ucontext_t u; return u.$pc_field == 0;
+  ;
+  return 0;
+}
+_ACEOF
+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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+
+cat >>confdefs.h <<_ACEOF
+#define PC_FROM_UCONTEXT $pc_field
+_ACEOF
+
+                        { echo "$as_me:$LINENO: result: $pc_field" >&5
+echo "${ECHO_T}$pc_field" >&6; }
+                        pc_field_found=true
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+       fi
      fi
    done
    if ! $pc_field_found; then
@@ -24681,7 +25035,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
+	 test -z "$ac_cxx_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
@@ -24708,6 +25062,12 @@ rm -f core conftest.err conftest.$ac_obj
 echo "$as_me: WARNING: Could not find the PC.  Will not output failed addresses..." >&2;}
    fi
 
+
+cat >>confdefs.h <<_ACEOF
+#define TEST_SRC_DIR "$srcdir"
+_ACEOF
+
+
 # These are what's needed by logging.h.in and raw_logging.h.in
 
 
@@ -25181,7 +25541,7 @@ exec 6>&1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by glog $as_me 0.3.0, which was
+This file was extended by glog $as_me 0.3.1, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -25234,7 +25594,7 @@ Report bugs to <bu...@gnu.org>."
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-glog config.status 0.3.0
+glog config.status 0.3.1
 configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/configure.ac (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/configure.ac)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/configure.ac?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/configure.ac&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/configure.ac&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
--- incubator/mesos/trunk/src/third_party/glog-0.3.0/configure.ac (original)
+++ incubator/mesos/trunk/src/third_party/glog-0.3.1/configure.ac Sun Jun  5 05:33:57 2011
@@ -5,13 +5,15 @@
 # make sure we're interpreted by some minimal autoconf
 AC_PREREQ(2.57)
 
-AC_INIT(glog, 0.3.0, opensource@google.com)
+AC_INIT(glog, 0.3.1, opensource@google.com)
 # The argument here is just something that should be in the current directory
 # (for sanity checking)
 AC_CONFIG_SRCDIR(README)
 AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(src/config.h)
 
+AC_LANG(C++)
+
 # Checks for programs.
 AC_PROG_CC
 AC_PROG_CPP
@@ -34,7 +36,7 @@ AC_CHECK_HEADERS(sys/syscall.h)
 # For backtrace with glibc.
 AC_CHECK_HEADERS(execinfo.h)
 # For backtrace with libunwind.
-AC_CHECK_HEADERS(libunwind.h)
+AC_CHECK_HEADERS(libunwind.h, ac_cv_have_libunwind_h=1, ac_cv_have_libunwind_h=0)
 AC_CHECK_HEADERS(ucontext.h)
 AC_CHECK_HEADERS(sys/utsname.h)
 AC_CHECK_HEADERS(pwd.h)
@@ -83,7 +85,7 @@ AX_C___SYNC_VAL_COMPARE_AND_SWAP
 # (This isn't needed on i386, where -fno-omit-frame-pointer is the default).
 AC_ARG_ENABLE(frame_pointers,
               AS_HELP_STRING([--enable-frame-pointers],
-                             [On x86_64 systems, compile with -fno-omit-frame-pointer (see INSTALL)]),
+                             [On x86_64 systems, compile with -fno-omit-frame-pointer (see INSTALL)]),,
               enable_frame_pointers=no)
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [return __x86_64__ == 1 ? 0 : 1])],
                   [is_x86_64=yes], [is_x86_64=no])
@@ -174,6 +176,8 @@ AC_CXX_USING_OPERATOR
 
 AC_PC_FROM_UCONTEXT(AC_MSG_WARN(Could not find the PC.  Will not output failed addresses...))
 
+AC_DEFINE_UNQUOTED(TEST_SRC_DIR, "$srcdir", [location of source code])
+
 # These are what's needed by logging.h.in and raw_logging.h.in
 AC_SUBST(ac_google_start_namespace)
 AC_SUBST(ac_google_end_namespace)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/depcomp (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/depcomp)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/depcomp?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/depcomp&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/depcomp&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/doc/designstyle.css (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/doc/designstyle.css)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/doc/designstyle.css?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/doc/designstyle.css&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/doc/designstyle.css&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/doc/glog.html (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/doc/glog.html)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/doc/glog.html?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/doc/glog.html&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/doc/glog.html&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
--- incubator/mesos/trunk/src/third_party/glog-0.3.0/doc/glog.html (original)
+++ incubator/mesos/trunk/src/third_party/glog-0.3.1/doc/glog.html Sun Jun  5 05:33:57 2011
@@ -116,6 +116,13 @@ environment variables, prefixing the fla
    GLOG_logtostderr=1 ./your_application
 </pre>
 
+<!-- TODO(hamaji): Fill the version number
+<p>By glog version 0.x.x, you can use GLOG_* environment variables
+even if you have gflags. If both an environment variable and a flag
+are specified, the value specified by a flag wins. E.g., if GLOG_v=0
+and --v=1, the verbosity will be 1, not 0.
+-->
+
 <p>The following flags are most commonly used:
 
 <dl>
@@ -517,6 +524,22 @@ setting <code>GOOGLE_STRIP_LOG</code> to
 all log messages associated with <code>VLOG</code>s as well as
 <code>INFO</code> log statements.
 
+<h3><A NAME=windows>Notes for Windows users</A></h3>
+
+<p>Google glog defines a severity level <code>ERROR</code>, which is
+also defined in <code>windows.h</code>
+There are two known workarounds to avoid this conflict:
+
+<ul>
+  <li>#define <code>WIN32_LEAN_AND_MEAN</code> or <code>NOGDI</code>
+      <strong>before</strong> you #include <code>windows.h</code> .
+  <li>#undef <code>ERROR</code> <strong>after</strong> you #include
+      <code>windows.h</code> .
+</ul>
+
+<p>See <a href="http://code.google.com/p/google-glog/issues/detail?id=33">
+this issue</a> for more detail.
+
 <hr>
 <address>
 Shinichiro Hamaji<br>

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/google-glog.sln (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/google-glog.sln)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/google-glog.sln?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/google-glog.sln&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/google-glog.sln&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Propchange: incubator/mesos/trunk/src/third_party/glog-0.3.1/google-glog.sln
------------------------------------------------------------------------------
    svn:executable = *

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/install-sh (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/install-sh)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/install-sh?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/install-sh&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/install-sh&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/libglog.pc.in (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/libglog.pc.in)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/libglog.pc.in?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/libglog.pc.in&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/libglog.pc.in&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/ltmain.sh (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/ltmain.sh)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/ltmain.sh?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/ltmain.sh&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/ltmain.sh&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_attribute.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/ac_have_attribute.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_attribute.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_attribute.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/ac_have_attribute.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_builtin_expect.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/ac_have_builtin_expect.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_builtin_expect.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_builtin_expect.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/ac_have_builtin_expect.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_sync_val_compare_and_swap.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/ac_have_sync_val_compare_and_swap.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_sync_val_compare_and_swap.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_have_sync_val_compare_and_swap.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/ac_have_sync_val_compare_and_swap.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_rwlock.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/ac_rwlock.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_rwlock.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/ac_rwlock.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/ac_rwlock.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/acx_pthread.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/acx_pthread.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/acx_pthread.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/acx_pthread.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/acx_pthread.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/google_namespace.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/google_namespace.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/google_namespace.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/google_namespace.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/google_namespace.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/namespaces.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/namespaces.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/namespaces.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/namespaces.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/namespaces.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/pc_from_ucontext.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/pc_from_ucontext.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/pc_from_ucontext.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/pc_from_ucontext.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/pc_from_ucontext.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
--- incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/pc_from_ucontext.m4 (original)
+++ incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/pc_from_ucontext.m4 Sun Jun  5 05:33:57 2011
@@ -6,8 +6,13 @@
 # OpenBSD doesn't have ucontext.h, but we can get PC from ucontext_t
 # by using signal.h.
 
+# The first argument of AC_PC_FROM_UCONTEXT will be invoked when we
+# cannot find a way to obtain PC from ucontext.
+
 AC_DEFUN([AC_PC_FROM_UCONTEXT],
-  [AC_MSG_CHECKING([how to access the program counter from a struct ucontext])
+  [AC_CHECK_HEADERS(ucontext.h)
+   AC_CHECK_HEADERS(sys/ucontext.h)       # ucontext on OS X 10.6 (at least)
+   AC_MSG_CHECKING([how to access the program counter from a struct ucontext])
    pc_fields="           uc_mcontext.gregs[[REG_PC]]"  # Solaris x86 (32 + 64 bit)
    pc_fields="$pc_fields uc_mcontext.gregs[[REG_EIP]]" # Linux (i386)
    pc_fields="$pc_fields uc_mcontext.gregs[[REG_RIP]]" # Linux (x86_64)
@@ -28,13 +33,23 @@ AC_DEFUN([AC_PC_FROM_UCONTEXT],
    pc_field_found=false
    for pc_field in $pc_fields; do
      if ! $pc_field_found; then
-       AC_TRY_COMPILE([#define _GNU_SOURCE 1
-                       #include <ucontext.h>],
-                      [ucontext_t u; return u.$pc_field == 0;],
-                      AC_DEFINE_UNQUOTED(PC_FROM_UCONTEXT, $pc_field,
-                                         How to access the PC from a struct ucontext)
-                      AC_MSG_RESULT([$pc_field])
-                      pc_field_found=true)
+       if test "x$ac_cv_header_sys_ucontext_h" = xyes; then
+         AC_TRY_COMPILE([#define _GNU_SOURCE 1
+                         #include <sys/ucontext.h>],
+                        [ucontext_t u; return u.$pc_field == 0;],
+                        AC_DEFINE_UNQUOTED(PC_FROM_UCONTEXT, $pc_field,
+                                           How to access the PC from a struct ucontext)
+                        AC_MSG_RESULT([$pc_field])
+                        pc_field_found=true)
+       else
+         AC_TRY_COMPILE([#define _GNU_SOURCE 1
+                         #include <ucontext.h>],
+                        [ucontext_t u; return u.$pc_field == 0;],
+                        AC_DEFINE_UNQUOTED(PC_FROM_UCONTEXT, $pc_field,
+                                           How to access the PC from a struct ucontext)
+                        AC_MSG_RESULT([$pc_field])
+                        pc_field_found=true)
+       fi
      fi
    done
    if ! $pc_field_found; then
@@ -52,5 +67,5 @@ AC_DEFUN([AC_PC_FROM_UCONTEXT],
      done
    fi
    if ! $pc_field_found; then
-     AC_MSG_WARN(Could not find the PC.  Will not output failed addresses...)
+     [$1]
    fi])

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/stl_namespace.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/stl_namespace.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/stl_namespace.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/stl_namespace.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/stl_namespace.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/using_operator.m4 (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/using_operator.m4)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/using_operator.m4?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/m4/using_operator.m4&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/m4/using_operator.m4&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/missing (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/missing)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/missing?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/missing&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/missing&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/mkinstalldirs (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/mkinstalldirs)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/mkinstalldirs?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/mkinstalldirs&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/mkinstalldirs&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb.sh (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb.sh)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb.sh?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb.sh&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb.sh&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/README (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/README)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/README?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/README&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/README&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/changelog (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/changelog)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/changelog?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/changelog&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/changelog&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
--- incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/changelog (original)
+++ incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/changelog Sun Jun  5 05:33:57 2011
@@ -1,3 +1,9 @@
+google-glog (0.3.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Google Inc. <op...@google.com>  Tue, 15 Jun 2010 13:50:47 +0900
+
 google-glog (0.3-1) unstable; urgency=low
 
   * New upstream release.

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/compat (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/compat)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/compat?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/compat&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/compat&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/control (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/control)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/control?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/control&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/control&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/copyright (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/copyright)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/copyright?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/copyright&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/copyright&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/docs (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/docs)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/docs?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/docs&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/docs&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog-dev.dirs (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/libgoogle-glog-dev.dirs)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog-dev.dirs?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog-dev.dirs&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/libgoogle-glog-dev.dirs&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog-dev.install (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/libgoogle-glog-dev.install)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog-dev.install?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog-dev.install&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/libgoogle-glog-dev.install&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog0.dirs (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/libgoogle-glog0.dirs)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog0.dirs?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog0.dirs&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/libgoogle-glog0.dirs&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog0.install (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/libgoogle-glog0.install)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog0.install?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/libgoogle-glog0.install&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/libgoogle-glog0.install&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/rules (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/rules)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/rules?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/deb/rules&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/deb/rules&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/rpm.sh (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/rpm.sh)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/rpm.sh?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/rpm.sh&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/rpm.sh&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/rpm/rpm.spec (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/rpm/rpm.spec)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/rpm/rpm.spec?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/packages/rpm/rpm.spec&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/packages/rpm/rpm.spec&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/commandlineflags.h (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/src/base/commandlineflags.h)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/commandlineflags.h?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/commandlineflags.h&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/src/base/commandlineflags.h&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
--- incubator/mesos/trunk/src/third_party/glog-0.3.0/src/base/commandlineflags.h (original)
+++ incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/commandlineflags.h Sun Jun  5 05:33:57 2011
@@ -77,14 +77,13 @@
 #define DECLARE_bool(name) \
   DECLARE_VARIABLE(bool, name, bool)
 #define DEFINE_bool(name, value, meaning) \
-  DEFINE_VARIABLE(bool, name, EnvToBool("GLOG_" #name, value), meaning, bool)
+  DEFINE_VARIABLE(bool, name, value, meaning, bool)
 
 // int32 specialization
 #define DECLARE_int32(name) \
   DECLARE_VARIABLE(GOOGLE_NAMESPACE::int32, name, int32)
 #define DEFINE_int32(name, value, meaning) \
-  DEFINE_VARIABLE(GOOGLE_NAMESPACE::int32, name, \
-                  EnvToInt("GLOG_" #name, value), meaning, int32)
+  DEFINE_VARIABLE(GOOGLE_NAMESPACE::int32, name, value, meaning, int32)
 
 // Special case for string, because we have to specify the namespace
 // std::string, which doesn't play nicely with our FLAG__namespace hackery.
@@ -93,14 +92,31 @@
   extern GOOGLE_GLOG_DLL_DECL std::string FLAGS_##name;                       \
   }                                                                           \
   using FLAG__namespace_do_not_use_directly_use_DECLARE_string_instead::FLAGS_##name
-#define DEFINE_string(name, value, meaning) \
+#define DEFINE_string(name, value, meaning)                                   \
   namespace FLAG__namespace_do_not_use_directly_use_DECLARE_string_instead {  \
-  GOOGLE_GLOG_DLL_DECL std::string                                            \
-      FLAGS_##name(EnvToString("GLOG_" #name, value));                        \
+  GOOGLE_GLOG_DLL_DECL std::string FLAGS_##name(value);                       \
   char FLAGS_no##name;                                                        \
   }                                                                           \
   using FLAG__namespace_do_not_use_directly_use_DECLARE_string_instead::FLAGS_##name
 
+#endif  // HAVE_LIB_GFLAGS
+
+// Define GLOG_DEFINE_* using DEFINE_* . By using these macros, we
+// have GLOG_* environ variables even if we have gflags installed.
+//
+// If both an environment variable and a flag are specified, the value
+// specified by a flag wins. E.g., if GLOG_v=0 and --v=1, the
+// verbosity will be 1, not 0.
+
+#define GLOG_DEFINE_bool(name, value, meaning) \
+  DEFINE_bool(name, EnvToBool("GLOG_" #name, value), meaning)
+
+#define GLOG_DEFINE_int32(name, value, meaning) \
+  DEFINE_int32(name, EnvToInt("GLOG_" #name, value), meaning)
+
+#define GLOG_DEFINE_string(name, value, meaning) \
+  DEFINE_string(name, EnvToString("GLOG_" #name, value), meaning)
+
 // These macros (could be functions, but I don't want to bother with a .cc
 // file), make it easier to initialize flags from the environment.
 
@@ -113,6 +129,4 @@
 #define EnvToInt(envname, dflt)  \
   (!getenv(envname) ? (dflt) : strtol(getenv(envname), NULL, 10))
 
-#endif  // HAVE_LIB_GFLAGS
-
 #endif  // BASE_COMMANDLINEFLAGS_H__

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/googleinit.h (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/src/base/googleinit.h)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/googleinit.h?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/googleinit.h&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/src/base/googleinit.h&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)

Copied: incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/mutex.h (from r1131792, incubator/mesos/trunk/src/third_party/glog-0.3.0/src/base/mutex.h)
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/mutex.h?p2=incubator/mesos/trunk/src/third_party/glog-0.3.1/src/base/mutex.h&p1=incubator/mesos/trunk/src/third_party/glog-0.3.0/src/base/mutex.h&r1=1131792&r2=1131793&rev=1131793&view=diff
==============================================================================
    (empty)