7eb10c8
diff -up ./configure.autotool-intermediates ./configure
1c94c1a
--- ./configure.autotool-intermediates	2012-07-20 14:09:54.811590526 -0400
1c94c1a
+++ ./configure	2012-07-20 14:10:00.525519093 -0400
1c94c1a
@@ -1,11 +1,13 @@
1c94c1a
 #! /bin/sh
1c94c1a
 # Guess values for system-dependent variables and create Makefiles.
1c94c1a
-# Generated by GNU Autoconf 2.69 for python 3.3.
1c94c1a
+# Generated by GNU Autoconf 2.68 for python 3.3.
1c94c1a
 #
1c94c1a
 # Report bugs to <http://bugs.python.org/>.
1c94c1a
 #
1c94c1a
 #
1c94c1a
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1c94c1a
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1c94c1a
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
1c94c1a
+# Foundation, Inc.
1c94c1a
 #
1c94c1a
 #
1c94c1a
 # This configure script is free software; the Free Software Foundation
1c94c1a
@@ -134,31 +136,6 @@ export LANGUAGE
1c94c1a
 # CDPATH.
1c94c1a
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1c94c1a
 
1c94c1a
-# Use a proper internal environment variable to ensure we don't fall
1c94c1a
-  # into an infinite loop, continuously re-executing ourselves.
1c94c1a
-  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
1c94c1a
-    _as_can_reexec=no; export _as_can_reexec;
1c94c1a
-    # We cannot yet assume a decent shell, so we have to provide a
1c94c1a
-# neutralization value for shells without unset; and this also
1c94c1a
-# works around shells that cannot unset nonexistent variables.
1c94c1a
-# Preserve -v and -x to the replacement shell.
1c94c1a
-BASH_ENV=/dev/null
1c94c1a
-ENV=/dev/null
1c94c1a
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1c94c1a
-case $- in # ((((
1c94c1a
-  *v*x* | *x*v* ) as_opts=-vx ;;
1c94c1a
-  *v* ) as_opts=-v ;;
1c94c1a
-  *x* ) as_opts=-x ;;
1c94c1a
-  * ) as_opts= ;;
1c94c1a
-esac
1c94c1a
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1c94c1a
-# Admittedly, this is quite paranoid, since all the known shells bail
1c94c1a
-# out after a failed `exec'.
1c94c1a
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
1c94c1a
-as_fn_exit 255
1c94c1a
-  fi
1c94c1a
-  # We don't want this to propagate to other subprocesses.
1c94c1a
-          { _as_can_reexec=; unset _as_can_reexec;}
1c94c1a
 if test "x$CONFIG_SHELL" = x; then
1c94c1a
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
1c94c1a
   emulate sh
1c94c1a
@@ -192,8 +169,7 @@ if ( set x; as_fn_ret_success y && test 
1c94c1a
 else
1c94c1a
   exitcode=1; echo positional parameters were not saved.
1c94c1a
 fi
1c94c1a
-test x\$exitcode = x0 || exit 1
1c94c1a
-test -x / || exit 1"
1c94c1a
+test x\$exitcode = x0 || exit 1"
1c94c1a
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1c94c1a
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1c94c1a
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1c94c1a
@@ -238,25 +214,21 @@ IFS=$as_save_IFS
1c94c1a
 
1c94c1a
 
1c94c1a
       if test "x$CONFIG_SHELL" != x; then :
1c94c1a
-  export CONFIG_SHELL
1c94c1a
-             # We cannot yet assume a decent shell, so we have to provide a
1c94c1a
-# neutralization value for shells without unset; and this also
1c94c1a
-# works around shells that cannot unset nonexistent variables.
1c94c1a
-# Preserve -v and -x to the replacement shell.
1c94c1a
-BASH_ENV=/dev/null
1c94c1a
-ENV=/dev/null
1c94c1a
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1c94c1a
-case $- in # ((((
1c94c1a
-  *v*x* | *x*v* ) as_opts=-vx ;;
1c94c1a
-  *v* ) as_opts=-v ;;
1c94c1a
-  *x* ) as_opts=-x ;;
1c94c1a
-  * ) as_opts= ;;
1c94c1a
-esac
1c94c1a
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1c94c1a
-# Admittedly, this is quite paranoid, since all the known shells bail
1c94c1a
-# out after a failed `exec'.
1c94c1a
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
1c94c1a
-exit 255
1c94c1a
+  # We cannot yet assume a decent shell, so we have to provide a
1c94c1a
+	# neutralization value for shells without unset; and this also
1c94c1a
+	# works around shells that cannot unset nonexistent variables.
1c94c1a
+	# Preserve -v and -x to the replacement shell.
1c94c1a
+	BASH_ENV=/dev/null
1c94c1a
+	ENV=/dev/null
1c94c1a
+	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1c94c1a
+	export CONFIG_SHELL
1c94c1a
+	case $- in # ((((
1c94c1a
+	  *v*x* | *x*v* ) as_opts=-vx ;;
1c94c1a
+	  *v* ) as_opts=-v ;;
1c94c1a
+	  *x* ) as_opts=-x ;;
1c94c1a
+	  * ) as_opts= ;;
1c94c1a
+	esac
1c94c1a
+	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
1c94c1a
 fi
1c94c1a
 
1c94c1a
     if test x$as_have_required = xno; then :
1c94c1a
@@ -359,14 +331,6 @@ $as_echo X"$as_dir" |
1c94c1a
 
1c94c1a
 
1c94c1a
 } # as_fn_mkdir_p
1c94c1a
-
1c94c1a
-# as_fn_executable_p FILE
1c94c1a
-# -----------------------
1c94c1a
-# Test if FILE is an executable regular file.
1c94c1a
-as_fn_executable_p ()
1c94c1a
-{
1c94c1a
-  test -f "$1" && test -x "$1"
1c94c1a
-} # as_fn_executable_p
1c94c1a
 # as_fn_append VAR VALUE
1c94c1a
 # ----------------------
1c94c1a
 # Append the text in VALUE to the end of the definition contained in VAR. Take
1c94c1a
@@ -488,10 +452,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
1c94c1a
   chmod +x "$as_me.lineno" ||
1c94c1a
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1c94c1a
 
1c94c1a
-  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
1c94c1a
-  # already done that, so ensure we don't try to do so again and fall
1c94c1a
-  # in an infinite loop.  This has already happened in practice.
1c94c1a
-  _as_can_reexec=no; export _as_can_reexec
1c94c1a
   # Don't try to exec as it changes $[0], causing all sort of problems
1c94c1a
   # (the dirname of $[0] is not the place where we might find the
1c94c1a
   # original and so on.  Autoconf is especially sensitive to this).
1c94c1a
@@ -526,16 +486,16 @@ if (echo >conf$$.file) 2>/dev/null; then
1c94c1a
     # ... but there are two gotchas:
1c94c1a
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1c94c1a
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1c94c1a
-    # In both cases, we have to default to `cp -pR'.
1c94c1a
+    # In both cases, we have to default to `cp -p'.
1c94c1a
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1c94c1a
-      as_ln_s='cp -pR'
1c94c1a
+      as_ln_s='cp -p'
1c94c1a
   elif ln conf$$.file conf$$ 2>/dev/null; then
1c94c1a
     as_ln_s=ln
1c94c1a
   else
1c94c1a
-    as_ln_s='cp -pR'
1c94c1a
+    as_ln_s='cp -p'
1c94c1a
   fi
1c94c1a
 else
1c94c1a
-  as_ln_s='cp -pR'
1c94c1a
+  as_ln_s='cp -p'
1c94c1a
 fi
1c94c1a
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1c94c1a
 rmdir conf$$.dir 2>/dev/null
1c94c1a
@@ -547,8 +507,28 @@ else
1c94c1a
   as_mkdir_p=false
1c94c1a
 fi
1c94c1a
 
1c94c1a
-as_test_x='test -x'
1c94c1a
-as_executable_p=as_fn_executable_p
1c94c1a
+if test -x / >/dev/null 2>&1; then
1c94c1a
+  as_test_x='test -x'
1c94c1a
+else
1c94c1a
+  if ls -dL / >/dev/null 2>&1; then
1c94c1a
+    as_ls_L_option=L
1c94c1a
+  else
1c94c1a
+    as_ls_L_option=
1c94c1a
+  fi
1c94c1a
+  as_test_x='
1c94c1a
+    eval sh -c '\''
1c94c1a
+      if test -d "$1"; then
1c94c1a
+	test -d "$1/.";
1c94c1a
+      else
1c94c1a
+	case $1 in #(
1c94c1a
+	-*)set "./$1";;
1c94c1a
+	esac;
1c94c1a
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1c94c1a
+	???[sx]*):;;*)false;;esac;fi
1c94c1a
+    '\'' sh
1c94c1a
+  '
1c94c1a
+fi
1c94c1a
+as_executable_p=$as_test_x
1c94c1a
 
1c94c1a
 # Sed expression to map a string onto a valid CPP name.
1c94c1a
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1c94c1a
@@ -793,6 +773,8 @@ with_thread
7eb10c8
 enable_ipv6
7eb10c8
 with_doc_strings
7eb10c8
 with_tsc
7eb10c8
+with_count_allocs
7eb10c8
+with_call_profile
7eb10c8
 with_pymalloc
7eb10c8
 with_valgrind
1c94c1a
 with_systemtap
1c94c1a
@@ -1266,6 +1248,8 @@ target=$target_alias
1c94c1a
 if test "x$host_alias" != x; then
1c94c1a
   if test "x$build_alias" = x; then
1c94c1a
     cross_compiling=maybe
1c94c1a
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1c94c1a
+    If a cross compiler is detected then cross compile mode will be used" >&2
1c94c1a
   elif test "x$build_alias" != "x$host_alias"; then
1c94c1a
     cross_compiling=yes
1c94c1a
   fi
1c94c1a
@@ -1469,6 +1453,8 @@ Optional Packages:
7eb10c8
                           deprecated; use --with(out)-threads
7eb10c8
   --with(out)-doc-strings disable/enable documentation strings
7eb10c8
   --with(out)-tsc         enable/disable timestamp counter profile
7eb10c8
+  --with(out)count-allocs  enable/disable per-type instance accounting
7eb10c8
+  --with(out)-call-profile  enable/disable statistics on function call invocation
7eb10c8
   --with(out)-pymalloc    disable/enable specialized mallocs
7eb10c8
   --with-valgrind         Enable Valgrind support
1c94c1a
   --with(out)-systemtap   disable/enable SystemTap support
1c94c1a
@@ -1556,9 +1542,9 @@ test -n "$ac_init_help" && exit $ac_stat
1c94c1a
 if $ac_init_version; then
1c94c1a
   cat <<\_ACEOF
1c94c1a
 python configure 3.3
1c94c1a
-generated by GNU Autoconf 2.69
1c94c1a
+generated by GNU Autoconf 2.68
1c94c1a
 
1c94c1a
-Copyright (C) 2012 Free Software Foundation, Inc.
1c94c1a
+Copyright (C) 2010 Free Software Foundation, Inc.
1c94c1a
 This configure script is free software; the Free Software Foundation
1c94c1a
 gives unlimited permission to copy, distribute and modify it.
1c94c1a
 _ACEOF
1c94c1a
@@ -1634,7 +1620,7 @@ $as_echo "$ac_try_echo"; } >&5
1c94c1a
 	 test ! -s conftest.err
1c94c1a
        } && test -s conftest$ac_exeext && {
1c94c1a
 	 test "$cross_compiling" = yes ||
1c94c1a
-	 test -x conftest$ac_exeext
1c94c1a
+	 $as_test_x conftest$ac_exeext
1c94c1a
        }; then :
1c94c1a
   ac_retval=0
1c94c1a
 else
1c94c1a
@@ -1932,8 +1918,7 @@ int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -1987,8 +1972,7 @@ int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -2004,8 +1988,7 @@ main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1c94c1a
 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -2055,8 +2038,7 @@ int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !(($2) >= 0)];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -2072,8 +2054,7 @@ int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -2099,8 +2080,7 @@ int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !(($2) < 0)];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -2116,8 +2096,7 @@ int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -2151,8 +2130,7 @@ int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -2395,7 +2373,7 @@ This file contains any messages produced
1c94c1a
 running configure, to aid debugging if configure makes a mistake.
1c94c1a
 
1c94c1a
 It was created by python $as_me 3.3, which was
1c94c1a
-generated by GNU Autoconf 2.69.  Invocation command line was
1c94c1a
+generated by GNU Autoconf 2.68.  Invocation command line was
1c94c1a
 
1c94c1a
   $ $0 $@
1c94c1a
 
1c94c1a
@@ -2765,7 +2743,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_HAS_HG="found"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -3508,7 +3486,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -3548,7 +3526,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_ac_ct_CC="gcc"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -3601,7 +3579,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_CC="${ac_tool_prefix}cc"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -3642,7 +3620,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1c94c1a
        ac_prog_rejected=yes
1c94c1a
        continue
1c94c1a
@@ -3700,7 +3678,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -3744,7 +3722,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_ac_ct_CC="$ac_prog"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -4190,7 +4168,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
1c94c1a
 /* end confdefs.h.  */
1c94c1a
 #include <stdarg.h>
1c94c1a
 #include <stdio.h>
1c94c1a
-struct stat;
1c94c1a
+#include <sys/types.h>
1c94c1a
+#include <sys/stat.h>
1c94c1a
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1c94c1a
 struct buf { int x; };
1c94c1a
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1c94c1a
@@ -4329,7 +4308,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -4370,7 +4349,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -4411,7 +4390,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -4460,7 +4439,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_CXX="$ac_prog"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -4691,7 +4670,7 @@ do
1c94c1a
     for ac_prog in grep ggrep; do
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1c94c1a
-      as_fn_executable_p "$ac_path_GREP" || continue
1c94c1a
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
1c94c1a
 # Check for GNU ac_path_GREP and select it if it is found.
1c94c1a
   # Check for GNU $ac_path_GREP
1c94c1a
 case `"$ac_path_GREP" --version 2>&1` in
1c94c1a
@@ -4757,7 +4736,7 @@ do
1c94c1a
     for ac_prog in egrep; do
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1c94c1a
-      as_fn_executable_p "$ac_path_EGREP" || continue
1c94c1a
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
1c94c1a
 # Check for GNU ac_path_EGREP and select it if it is found.
1c94c1a
   # Check for GNU $ac_path_EGREP
1c94c1a
 case `"$ac_path_EGREP" --version 2>&1` in
1c94c1a
@@ -4964,8 +4943,8 @@ else
1c94c1a
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1c94c1a
 /* end confdefs.h.  */
1c94c1a
 
1c94c1a
-#         define __EXTENSIONS__ 1
1c94c1a
-          $ac_includes_default
1c94c1a
+#	  define __EXTENSIONS__ 1
1c94c1a
+	  $ac_includes_default
1c94c1a
 int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
@@ -5359,7 +5338,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -5399,7 +5378,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_ac_ct_RANLIB="ranlib"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -5453,7 +5432,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_AR="$ac_prog"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -5504,7 +5483,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_HAS_PYTHON="found"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -5577,7 +5556,7 @@ case $as_dir/ in #((
1c94c1a
     # by default.
1c94c1a
     for ac_prog in ginstall scoinst install; do
1c94c1a
       for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1c94c1a
+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1c94c1a
 	  if test $ac_prog = install &&
1c94c1a
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1c94c1a
 	    # AIX install.  It has an incompatible calling convention.
1c94c1a
@@ -5646,7 +5625,7 @@ do
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_prog in mkdir gmkdir; do
1c94c1a
 	 for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1c94c1a
+	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1c94c1a
 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1c94c1a
 	     'mkdir (GNU coreutils) '* | \
1c94c1a
 	     'mkdir (coreutils) '* | \
1c94c1a
@@ -8538,7 +8517,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -8581,7 +8560,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -9591,6 +9570,50 @@ $as_echo "no" >&6; }
7eb10c8
 fi
7eb10c8
 
7eb10c8
 
7eb10c8
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-count-allocs" >&5
7eb10c8
+$as_echo_n "checking for --with-count-allocs... " >&6; }
7eb10c8
+
7eb10c8
+# Check whether --with-count-allocs was given.
7eb10c8
+if test "${with_count_allocs+set}" = set; then :
7eb10c8
+  withval=$with_count_allocs;
7eb10c8
+if test "$withval" != no
7eb10c8
+then
7eb10c8
+
7eb10c8
+$as_echo "#define COUNT_ALLOCS 1" >>confdefs.h
7eb10c8
+
7eb10c8
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7eb10c8
+$as_echo "yes" >&6; }
7eb10c8
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c8
+$as_echo "no" >&6; }
7eb10c8
+fi
7eb10c8
+else
7eb10c8
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c8
+$as_echo "no" >&6; }
7eb10c8
+fi
7eb10c8
+
7eb10c8
+
7eb10c8
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-call-profile" >&5
7eb10c8
+$as_echo_n "checking for --with-call-profile... " >&6; }
7eb10c8
+
7eb10c8
+# Check whether --with-call-profile was given.
7eb10c8
+if test "${with_call_profile+set}" = set; then :
7eb10c8
+  withval=$with_call_profile;
7eb10c8
+if test "$withval" != no
7eb10c8
+then
7eb10c8
+
7eb10c8
+$as_echo "#define CALL_PROFILE 1" >>confdefs.h
7eb10c8
+
7eb10c8
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7eb10c8
+$as_echo "yes" >&6; }
7eb10c8
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c8
+$as_echo "no" >&6; }
7eb10c8
+fi
7eb10c8
+else
7eb10c8
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c8
+$as_echo "no" >&6; }
7eb10c8
+fi
7eb10c8
+
7eb10c8
+
7eb10c8
 # Check for Python-specific malloc support
7eb10c8
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
7eb10c8
 $as_echo_n "checking for --with-pymalloc... " >&6; }
1c94c1a
@@ -10208,7 +10231,7 @@ do
1c94c1a
   IFS=$as_save_IFS
1c94c1a
   test -z "$as_dir" && as_dir=.
1c94c1a
     for ac_exec_ext in '' $ac_executable_extensions; do
1c94c1a
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1c94c1a
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1c94c1a
     ac_cv_prog_TRUE="$ac_prog"
1c94c1a
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1c94c1a
     break 2
1c94c1a
@@ -11645,8 +11668,7 @@ int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
 static int test_array [1 - 2 * !(((char) -1) < 0)];
1c94c1a
-test_array [0] = 0;
1c94c1a
-return test_array [0];
1c94c1a
+test_array [0] = 0
1c94c1a
 
1c94c1a
   ;
1c94c1a
   return 0;
1c94c1a
@@ -11677,11 +11699,11 @@ else
1c94c1a
 int
1c94c1a
 main ()
1c94c1a
 {
1c94c1a
-
1c94c1a
+/* FIXME: Include the comments suggested by Paul. */
1c94c1a
 #ifndef __cplusplus
1c94c1a
-  /* Ultrix mips cc rejects this sort of thing.  */
1c94c1a
+  /* Ultrix mips cc rejects this.  */
1c94c1a
   typedef int charset[2];
1c94c1a
-  const charset cs = { 0, 0 };
1c94c1a
+  const charset cs;
1c94c1a
   /* SunOS 4.1.1 cc rejects this.  */
1c94c1a
   char const *const *pcpcc;
1c94c1a
   char **ppc;
1c94c1a
@@ -11698,9 +11720,8 @@ main ()
1c94c1a
   ++pcpcc;
1c94c1a
   ppc = (char**) pcpcc;
1c94c1a
   pcpcc = (char const *const *) ppc;
1c94c1a
-  { /* SCO 3.2v4 cc rejects this sort of thing.  */
1c94c1a
-    char tx;
1c94c1a
-    char *t = &tx;
1c94c1a
+  { /* SCO 3.2v4 cc rejects this.  */
1c94c1a
+    char *t;
1c94c1a
     char const *s = 0 ? (char *) 0 : (char const *) 0;
1c94c1a
 
1c94c1a
     *t++ = 0;
1c94c1a
@@ -11716,10 +11737,10 @@ main ()
1c94c1a
     iptr p = 0;
1c94c1a
     ++p;
1c94c1a
   }
1c94c1a
-  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
1c94c1a
+  { /* AIX XL C 1.02.0.0 rejects this saying
1c94c1a
        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1c94c1a
-    struct s { int j; const int *ap[3]; } bx;
1c94c1a
-    struct s *b = &bx; b->j = 5;
1c94c1a
+    struct s { int j; const int *ap[3]; };
1c94c1a
+    struct s *b; b->j = 5;
1c94c1a
   }
1c94c1a
   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1c94c1a
     const int foo = 10;
1c94c1a
@@ -15008,16 +15029,16 @@ if (echo >conf$$.file) 2>/dev/null; then
1c94c1a
     # ... but there are two gotchas:
1c94c1a
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1c94c1a
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1c94c1a
-    # In both cases, we have to default to `cp -pR'.
1c94c1a
+    # In both cases, we have to default to `cp -p'.
1c94c1a
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1c94c1a
-      as_ln_s='cp -pR'
1c94c1a
+      as_ln_s='cp -p'
1c94c1a
   elif ln conf$$.file conf$$ 2>/dev/null; then
1c94c1a
     as_ln_s=ln
1c94c1a
   else
1c94c1a
-    as_ln_s='cp -pR'
1c94c1a
+    as_ln_s='cp -p'
1c94c1a
   fi
1c94c1a
 else
1c94c1a
-  as_ln_s='cp -pR'
1c94c1a
+  as_ln_s='cp -p'
1c94c1a
 fi
1c94c1a
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1c94c1a
 rmdir conf$$.dir 2>/dev/null
1c94c1a
@@ -15077,16 +15098,28 @@ else
1c94c1a
   as_mkdir_p=false
7eb10c8
 fi
7eb10c8
 
1c94c1a
-
1c94c1a
-# as_fn_executable_p FILE
1c94c1a
-# -----------------------
1c94c1a
-# Test if FILE is an executable regular file.
1c94c1a
-as_fn_executable_p ()
1c94c1a
-{
1c94c1a
-  test -f "$1" && test -x "$1"
1c94c1a
-} # as_fn_executable_p
1c94c1a
-as_test_x='test -x'
1c94c1a
-as_executable_p=as_fn_executable_p
1c94c1a
+if test -x / >/dev/null 2>&1; then
1c94c1a
+  as_test_x='test -x'
7eb10c8
+else
1c94c1a
+  if ls -dL / >/dev/null 2>&1; then
1c94c1a
+    as_ls_L_option=L
1c94c1a
+  else
1c94c1a
+    as_ls_L_option=
1c94c1a
+  fi
1c94c1a
+  as_test_x='
1c94c1a
+    eval sh -c '\''
1c94c1a
+      if test -d "$1"; then
1c94c1a
+	test -d "$1/.";
1c94c1a
+      else
1c94c1a
+	case $1 in #(
1c94c1a
+	-*)set "./$1";;
1c94c1a
+	esac;
1c94c1a
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1c94c1a
+	???[sx]*):;;*)false;;esac;fi
1c94c1a
+    '\'' sh
1c94c1a
+  '
7eb10c8
+fi
1c94c1a
+as_executable_p=$as_test_x
5080ffc
 
1c94c1a
 # Sed expression to map a string onto a valid CPP name.
1c94c1a
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1c94c1a
@@ -15108,7 +15141,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
1c94c1a
 # values after options handling.
1c94c1a
 ac_log="
1c94c1a
 This file was extended by python $as_me 3.3, which was
1c94c1a
-generated by GNU Autoconf 2.69.  Invocation command line was
1c94c1a
+generated by GNU Autoconf 2.68.  Invocation command line was
7eb10c8
 
1c94c1a
   CONFIG_FILES    = $CONFIG_FILES
1c94c1a
   CONFIG_HEADERS  = $CONFIG_HEADERS
1c94c1a
@@ -15170,10 +15203,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
1c94c1a
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1c94c1a
 ac_cs_version="\\
1c94c1a
 python config.status 3.3
1c94c1a
-configured by $0, generated by GNU Autoconf 2.69,
1c94c1a
+configured by $0, generated by GNU Autoconf 2.68,
1c94c1a
   with options \\"\$ac_cs_config\\"
7eb10c8
 
1c94c1a
-Copyright (C) 2012 Free Software Foundation, Inc.
1c94c1a
+Copyright (C) 2010 Free Software Foundation, Inc.
1c94c1a
 This config.status script is free software; the Free Software Foundation
1c94c1a
 gives unlimited permission to copy, distribute and modify it."
1c94c1a
 
1c94c1a
@@ -15263,7 +15296,7 @@ fi
1c94c1a
 _ACEOF
1c94c1a
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1c94c1a
 if \$ac_cs_recheck; then
1c94c1a
-  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1c94c1a
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1c94c1a
   shift
1c94c1a
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
1c94c1a
   CONFIG_SHELL='$SHELL'
1c94c1a
diff -up ./pyconfig.h.in.autotool-intermediates ./pyconfig.h.in