summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/deb_0000_at_configure.diff335
-rw-r--r--debian/patches/deb_0001_at_config_h_in.diff22
2 files changed, 228 insertions, 129 deletions
diff --git a/debian/patches/deb_0000_at_configure.diff b/debian/patches/deb_0000_at_configure.diff
index d0f186026..2b8ad2682 100644
--- a/debian/patches/deb_0000_at_configure.diff
+++ b/debian/patches/deb_0000_at_configure.diff
@@ -1,21 +1,19 @@
Patch to generate `configure'.
-Created by `at2quilt' on Wed, 14 Dec 2011 01:34:39 CET.
+Created by `at2quilt' on Sun, 22 Jul 2012 21:40:59 CEST.
Note: Never *ever* refresh this patch. Things will break.
Index: zsh/configure
---- zsh.orig/configure 2011-12-13 17:44:56.160895103 +0100
-+++ zsh/configure 2011-12-14 01:34:36.000000000 +0100
-@@ -0,0 +1,14159 @@
+--- zsh.orig/configure 2012-07-22 20:34:16.849614008 +0200
++++ zsh/configure 2012-07-22 21:40:56.000000000 +0200
+@@ -0,0 +1,14244 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
-+# Generated by GNU Autoconf 2.68.
++# Generated by GNU Autoconf 2.69.
+#
+#
-+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-+# Foundation, Inc.
++# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
@@ -144,6 +142,31 @@ Index: zsh/configure
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
++# Use a proper internal environment variable to ensure we don't fall
++ # into an infinite loop, continuously re-executing ourselves.
++ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
++ _as_can_reexec=no; export _as_can_reexec;
++ # We cannot yet assume a decent shell, so we have to provide a
++# neutralization value for shells without unset; and this also
++# works around shells that cannot unset nonexistent variables.
++# Preserve -v and -x to the replacement shell.
++BASH_ENV=/dev/null
++ENV=/dev/null
++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++esac
++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
++# Admittedly, this is quite paranoid, since all the known shells bail
++# out after a failed `exec'.
++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
++as_fn_exit 255
++ fi
++ # We don't want this to propagate to other subprocesses.
++ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
@@ -177,7 +200,8 @@ Index: zsh/configure
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
-+test x\$exitcode = x0 || exit 1"
++test x\$exitcode = x0 || exit 1
++test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -222,21 +246,25 @@ Index: zsh/configure
+
+
+ if test "x$CONFIG_SHELL" != x; then :
-+ # We cannot yet assume a decent shell, so we have to provide a
-+ # neutralization value for shells without unset; and this also
-+ # works around shells that cannot unset nonexistent variables.
-+ # Preserve -v and -x to the replacement shell.
-+ BASH_ENV=/dev/null
-+ ENV=/dev/null
-+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-+ export CONFIG_SHELL
-+ case $- in # ((((
-+ *v*x* | *x*v* ) as_opts=-vx ;;
-+ *v* ) as_opts=-v ;;
-+ *x* ) as_opts=-x ;;
-+ * ) as_opts= ;;
-+ esac
-+ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
++ export CONFIG_SHELL
++ # We cannot yet assume a decent shell, so we have to provide a
++# neutralization value for shells without unset; and this also
++# works around shells that cannot unset nonexistent variables.
++# Preserve -v and -x to the replacement shell.
++BASH_ENV=/dev/null
++ENV=/dev/null
++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++esac
++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
++# Admittedly, this is quite paranoid, since all the known shells bail
++# out after a failed `exec'.
++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
++exit 255
+fi
+
+ if test x$as_have_required = xno; then :
@@ -338,6 +366,14 @@ Index: zsh/configure
+
+
+} # as_fn_mkdir_p
++
++# as_fn_executable_p FILE
++# -----------------------
++# Test if FILE is an executable regular file.
++as_fn_executable_p ()
++{
++ test -f "$1" && test -x "$1"
++} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -459,6 +495,10 @@ Index: zsh/configure
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
++ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
++ # already done that, so ensure we don't try to do so again and fall
++ # in an infinite loop. This has already happened in practice.
++ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
@@ -493,16 +533,16 @@ Index: zsh/configure
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-+ # In both cases, we have to default to `cp -p'.
++ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-+ as_ln_s='cp -p'
++ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
-+ as_ln_s='cp -p'
++ as_ln_s='cp -pR'
+ fi
+else
-+ as_ln_s='cp -p'
++ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
@@ -514,28 +554,8 @@ Index: zsh/configure
+ as_mkdir_p=false
+fi
+
-+if test -x / >/dev/null 2>&1; then
-+ as_test_x='test -x'
-+else
-+ if ls -dL / >/dev/null 2>&1; then
-+ as_ls_L_option=L
-+ else
-+ as_ls_L_option=
-+ fi
-+ as_test_x='
-+ eval sh -c '\''
-+ if test -d "$1"; then
-+ test -d "$1/.";
-+ else
-+ case $1 in #(
-+ -*)set "./$1";;
-+ esac;
-+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-+ ???[sx]*):;;*)false;;esac;fi
-+ '\'' sh
-+ '
-+fi
-+as_executable_p=$as_test_x
++as_test_x='test -x'
++as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -1232,8 +1252,6 @@ Index: zsh/configure
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
-+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
-+ If a cross compiler is detected then cross compile mode will be used" >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
@@ -1529,9 +1547,9 @@ Index: zsh/configure
+if $ac_init_version; then
+ cat <<\_ACEOF
+configure
-+generated by GNU Autoconf 2.68
++generated by GNU Autoconf 2.69
+
-+Copyright (C) 2010 Free Software Foundation, Inc.
++Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
@@ -1771,7 +1789,7 @@ Index: zsh/configure
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
-+ $as_test_x conftest$ac_exeext
++ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
@@ -2051,7 +2069,7 @@ Index: zsh/configure
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by $as_me, which was
-+generated by GNU Autoconf 2.68. Invocation command line was
++generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
@@ -2987,7 +3005,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -3027,7 +3045,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -3080,7 +3098,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -3121,7 +3139,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
@@ -3179,7 +3197,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -3223,7 +3241,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -3669,8 +3687,7 @@ Index: zsh/configure
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
-+#include <sys/types.h>
-+#include <sys/stat.h>
++struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -3957,6 +3974,8 @@ Index: zsh/configure
+esac
+rm -rf conftest*
+ fi
++
++
+fi
+
+fi
@@ -4169,7 +4188,7 @@ Index: zsh/configure
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
++ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
@@ -4235,7 +4254,7 @@ Index: zsh/configure
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
++ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
@@ -4335,11 +4354,11 @@ Index: zsh/configure
+int
+main ()
+{
-+/* FIXME: Include the comments suggested by Paul. */
++
+#ifndef __cplusplus
-+ /* Ultrix mips cc rejects this. */
++ /* Ultrix mips cc rejects this sort of thing. */
+ typedef int charset[2];
-+ const charset cs;
++ const charset cs = { 0, 0 };
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
@@ -4356,8 +4375,9 @@ Index: zsh/configure
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
-+ { /* SCO 3.2v4 cc rejects this. */
-+ char *t;
++ { /* SCO 3.2v4 cc rejects this sort of thing. */
++ char tx;
++ char *t = &tx;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
@@ -4373,10 +4393,10 @@ Index: zsh/configure
+ iptr p = 0;
+ ++p;
+ }
-+ { /* AIX XL C 1.02.0.0 rejects this saying
++ { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
-+ struct s { int j; const int *ap[3]; };
-+ struct s *b; b->j = 5;
++ struct s { int j; const int *ap[3]; } bx;
++ struct s *b = &bx; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
@@ -4775,23 +4795,20 @@ Index: zsh/configure
+/* end confdefs.h. */
+$ac_includes_default
+int
-+find_stack_direction ()
++find_stack_direction (int *addr, int depth)
+{
-+ static char *addr = 0;
-+ auto char dummy;
-+ if (addr == 0)
-+ {
-+ addr = &dummy;
-+ return find_stack_direction ();
-+ }
-+ else
-+ return (&dummy > addr) ? 1 : -1;
++ int dir, dummy = 0;
++ if (! addr)
++ addr = &dummy;
++ *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
++ dir = depth ? find_stack_direction (addr, depth - 1) : 0;
++ return dir + dummy;
+}
+
+int
-+main ()
++main (int argc, char **argv)
+{
-+ return find_stack_direction () < 0;
++ return find_stack_direction (0, argc + !argv + 20) < 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
@@ -4972,7 +4989,7 @@ Index: zsh/configure
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
@@ -5045,7 +5062,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -5111,7 +5128,7 @@ Index: zsh/configure
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
++ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
@@ -5176,7 +5193,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_YODL="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -5228,7 +5245,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_PDFETEX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -5271,7 +5288,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_TEXI2PDF="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -5313,7 +5330,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_TEXI2HTML="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -5355,7 +5372,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ANSI2KNR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -5798,7 +5815,7 @@ Index: zsh/configure
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_PCRECONF="pcre-config"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
@@ -7523,6 +7540,53 @@ Index: zsh/configure
+ fi
+fi
+
++if test "$zsh_cv_64_bit_type" = "long long"; then
++ $as_echo "#define ZLONG_IS_LONG_LONG 1" >>confdefs.h
++
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for %lld printf support" >&5
++$as_echo_n "checking for %lld printf support... " >&6; }
++if ${zsh_cv_printf_has_lld+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "$cross_compiling" = yes; then :
++ zsh_cv_printf_has_lld=no
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++#include <stdio.h>
++#include <string.h>
++int main(int argc, char **argv)
++{
++ long long foo = ((long long)0xdead << 40) | 0xf00d;
++ char buf[80];
++ sprintf(buf, "before%lldafter", foo);
++ if (!strcmp(buf, "before62677660341432333after")) {
++ return 0;
++ }
++ return 1;
++}
++
++_ACEOF
++if ac_fn_c_try_run "$LINENO"; then :
++ zsh_cv_printf_has_lld=yes
++else
++ zsh_cv_printf_has_lld=no
++fi
++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
++ conftest.$ac_objext conftest.beam conftest.$ac_ext
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $zsh_cv_printf_has_lld" >&5
++$as_echo "$zsh_cv_printf_has_lld" >&6; }
++
++if test x$zsh_cv_printf_has_lld = xyes; then
++ $as_echo "#define PRINTF_HAS_LLD 1" >>confdefs.h
++
++fi
++
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigset_t" >&5
+$as_echo_n "checking for sigset_t... " >&6; }
+if ${zsh_cv_type_sigset_t+:} false; then :
@@ -8970,6 +9034,7 @@ Index: zsh/configure
+
+
+
++
+if test x$zsh_cv_path_term_header != xnone; then
+ $as_echo "#define ZSH_HAVE_TERM_H 1" >>confdefs.h
+
@@ -9004,6 +9069,7 @@ Index: zsh/configure
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boolcodes" >&5
+$as_echo "$boolcodes" >&6; }
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if numcodes is available" >&5
+$as_echo_n "checking if numcodes is available... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9027,6 +9093,7 @@ Index: zsh/configure
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $numcodes" >&5
+$as_echo "$numcodes" >&6; }
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcodes is available" >&5
+$as_echo_n "checking if strcodes is available... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9050,6 +9117,7 @@ Index: zsh/configure
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $strcodes" >&5
+$as_echo "$strcodes" >&6; }
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if boolnames is available" >&5
+$as_echo_n "checking if boolnames is available... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9073,6 +9141,7 @@ Index: zsh/configure
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boolnames" >&5
+$as_echo "$boolnames" >&6; }
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if numnames is available" >&5
+$as_echo_n "checking if numnames is available... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9096,6 +9165,7 @@ Index: zsh/configure
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $numnames" >&5
+$as_echo "$numnames" >&6; }
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnames is available" >&5
+$as_echo_n "checking if strnames is available... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9119,6 +9189,33 @@ Index: zsh/configure
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $strnames" >&5
+$as_echo "$strnames" >&6; }
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if tgoto prototype is missing" >&5
++$as_echo_n "checking if tgoto prototype is missing... " >&6; }
++ tgoto_includes="$term_includes
++/* guaranteed to clash with any valid tgoto prototype */
++extern void tgoto(int **stuff, float **more_stuff);"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++$tgoto_includes
++int
++main ()
++{
++int *stuff; float *more_stuff; tgoto(&stuff, &more_stuff);
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_link "$LINENO"; then :
++ $as_echo "#define TGOTO_PROTO_MISSING 1" >>confdefs.h
++ tgotoprotomissing=yes
++else
++ tgotoprotomissing=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++ conftest$ac_exeext conftest.$ac_ext
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tgotoprotomissing" >&5
++$as_echo "$tgotoprotomissing" >&6; }
+else
+ ZSH_TERM_H=
+fi
@@ -13173,16 +13270,16 @@ Index: zsh/configure
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-+ # In both cases, we have to default to `cp -p'.
++ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-+ as_ln_s='cp -p'
++ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
-+ as_ln_s='cp -p'
++ as_ln_s='cp -pR'
+ fi
+else
-+ as_ln_s='cp -p'
++ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
@@ -13242,28 +13339,16 @@ Index: zsh/configure
+ as_mkdir_p=false
+fi
+
-+if test -x / >/dev/null 2>&1; then
-+ as_test_x='test -x'
-+else
-+ if ls -dL / >/dev/null 2>&1; then
-+ as_ls_L_option=L
-+ else
-+ as_ls_L_option=
-+ fi
-+ as_test_x='
-+ eval sh -c '\''
-+ if test -d "$1"; then
-+ test -d "$1/.";
-+ else
-+ case $1 in #(
-+ -*)set "./$1";;
-+ esac;
-+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-+ ???[sx]*):;;*)false;;esac;fi
-+ '\'' sh
-+ '
-+fi
-+as_executable_p=$as_test_x
++
++# as_fn_executable_p FILE
++# -----------------------
++# Test if FILE is an executable regular file.
++as_fn_executable_p ()
++{
++ test -f "$1" && test -x "$1"
++} # as_fn_executable_p
++as_test_x='test -x'
++as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -13285,7 +13370,7 @@ Index: zsh/configure
+# values after options handling.
+ac_log="
+This file was extended by $as_me, which was
-+generated by GNU Autoconf 2.68. Invocation command line was
++generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
@@ -13351,10 +13436,10 @@ Index: zsh/configure
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+config.status
-+configured by $0, generated by GNU Autoconf 2.68,
++configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
-+Copyright (C) 2010 Free Software Foundation, Inc.
++Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
@@ -13444,7 +13529,7 @@ Index: zsh/configure
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
-+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
diff --git a/debian/patches/deb_0001_at_config_h_in.diff b/debian/patches/deb_0001_at_config_h_in.diff
index 3579412d8..8774a72f4 100644
--- a/debian/patches/deb_0001_at_config_h_in.diff
+++ b/debian/patches/deb_0001_at_config_h_in.diff
@@ -1,13 +1,13 @@
Patch to generate `config.h.in'.
-Created by `at2quilt' on Wed, 14 Dec 2011 01:34:39 CET.
+Created by `at2quilt' on Sun, 22 Jul 2012 21:40:59 CEST.
Note: Never *ever* refresh this patch. Things will break.
Index: zsh/config.h.in
---- zsh.orig/config.h.in 2011-12-13 17:44:56.160895103 +0100
-+++ zsh/config.h.in 2011-12-14 01:34:38.000000000 +0100
-@@ -0,0 +1,1162 @@
+--- zsh.orig/config.h.in 2012-07-22 20:34:16.849614008 +0200
++++ zsh/config.h.in 2012-07-22 21:40:58.000000000 +0200
+@@ -0,0 +1,1176 @@
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/***** begin user configuration section *****/
@@ -1016,6 +1016,9 @@ Index: zsh/config.h.in
+/* Define to 1 if you use POSIX style signal handling. */
+#undef POSIX_SIGNALS
+
++/* Define to 1 if printf and sprintf support %lld for long long. */
++#undef PRINTF_HAS_LLD
++
+/* Define to 1 if ANSI function prototypes are usable. */
+#undef PROTOTYPES
+
@@ -1074,6 +1077,9 @@ Index: zsh/config.h.in
+/* Define to what tgetent() returns on success (0 on HP-UX X/Open curses). */
+#undef TGETENT_SUCCESS
+
++/* Define if there is no prototype for the tgoto() terminal function. */
++#undef TGOTO_PROTO_MISSING
++
+/* Define if sys/time.h and sys/select.h cannot be both included. */
+#undef TIME_H_SELECT_H_CONFLICTS
+
@@ -1098,6 +1104,9 @@ Index: zsh/config.h.in
+/* Define if getxattr() etc. require additional MacOS-style arguments */
+#undef XATTR_EXTRA_ARGS
+
++/* Define to 1 if the zlong type uses long long int. */
++#undef ZLONG_IS_LONG_LONG
++
+/* Define to a 64 bit integer type if there is one, but long is shorter. */
+#undef ZSH_64_BIT_TYPE
+
@@ -1135,6 +1144,11 @@ Index: zsh/config.h.in
+/* Define to the base type of the third argument of accept */
+#undef ZSOCKLEN_T
+
++/* Enable large inode numbers on Mac OS X 10.5. */
++#ifndef _DARWIN_USE_64_BIT_INODE
++# define _DARWIN_USE_64_BIT_INODE 1
++#endif
++
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+