summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorStephen Kitt <skitt@debian.org>2016-05-27 10:11:04 +0200
committerManuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>2016-05-27 14:28:33 +0100
commit752fd7247bc223bcea35bd89cf56d1c08ead9ba6 (patch)
treeb4a428f847a963738faaf24c8eff070fdb03a3a5 /autogen.sh
parent9f7d4fa477ff2a51d7c932b13d57ac22dc033105 (diff)
parenta9a31b1de5776a3b08a82101a4fa711294f0dd1d (diff)
Imported Debian patch 0.9.6+really0.9.3-0.1debian/0.9.6+really0.9.3-0.1
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh56
1 files changed, 23 insertions, 33 deletions
diff --git a/autogen.sh b/autogen.sh
index f558615..e062b33 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,7 +4,7 @@
# also regenerates all aclocal.m4, config.h.in, Makefile.in, configure files
# with new versions of autoconf or automake.
#
-# This script requires autoconf-2.63..2.69 and automake-1.11..1.12 in the PATH.
+# This script requires autoconf-2.63 and automake-1.11 in the PATH.
# It also requires either
# - the GNULIB_TOOL environment variable pointing to the gnulib-tool script
# in a gnulib checkout, or
@@ -12,7 +12,7 @@
# It also requires
# - the gperf program.
-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
+# Copyright (C) 2003-2009 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -71,6 +71,12 @@ if test $skip_gnulib = false; then
fi
# Skip the gnulib-tool step if gnulib-tool was not found.
if test -n "$GNULIB_TOOL"; then
+ if test -f m4/gnulib-cache.m4; then
+ mv -f m4/gnulib-cache.m4 m4/gnulib-cache.m4~
+ fi
+ if test -f lib/Makefile.gnulib; then
+ mv -f lib/Makefile.gnulib lib/Makefile.gnulib~
+ fi
GNULIB_MODULES='
unitypes
unistr/base
@@ -278,10 +284,10 @@ if test $skip_gnulib = false; then
uniname/base
uniname/uniname
unictype/base
- unictype/bidiclass-all
+ unictype/bidicategory-all
unictype/block-all
unictype/category-all
- unictype/combining-class-all
+ unictype/combining-class
unictype/ctype-alnum
unictype/ctype-alpha
unictype/ctype-blank
@@ -296,8 +302,6 @@ if test $skip_gnulib = false; then
unictype/ctype-xdigit
unictype/decimal-digit
unictype/digit
- unictype/joininggroup-all
- unictype/joiningtype-all
unictype/mirror
unictype/numeric
unictype/property-all
@@ -314,19 +318,6 @@ if test $skip_gnulib = false; then
uniwidth/u32-strwidth
uniwidth/u32-width
uniwidth/width
- unigbrk/base
- unigbrk/u8-grapheme-breaks
- unigbrk/u8-grapheme-next
- unigbrk/u8-grapheme-prev
- unigbrk/u16-grapheme-breaks
- unigbrk/u16-grapheme-next
- unigbrk/u16-grapheme-prev
- unigbrk/u32-grapheme-breaks
- unigbrk/u32-grapheme-next
- unigbrk/u32-grapheme-prev
- unigbrk/uc-gbrk-prop
- unigbrk/uc-is-grapheme-break
- unigbrk/ulc-grapheme-breaks
uniwbrk/base
uniwbrk/u8-wordbreaks
uniwbrk/u16-wordbreaks
@@ -427,26 +418,25 @@ if test $skip_gnulib = false; then
--with-tests --lgpl --makefile-name=Makefile.gnulib --libtool --local-dir=gnulib-local \
--import $GNULIB_MODULES
# Change lib/unistr.h to be usable standalone.
- sed -e 's/if GNULIB_[A-Za-z0-9_]* || .*/if 1/g' \
- -e 's/if GNULIB_[A-Za-z0-9_]*/if 1/g' \
+ sed -e 's/ifdef GNULIB_[A-Za-z0-9_]*/if 1/' -e 's/defined GNULIB_[A-Za-z0-9_]*/1/g' \
-e 's/HAVE_INLINE/UNISTRING_HAVE_INLINE/g' \
- < lib/unistr.in.h \
- > lib/unistr.in.h.tmp \
- && mv lib/unistr.in.h.tmp lib/unistr.in.h
+ < lib/unistr.h \
+ > lib/unistr.h.tmp \
+ && mv lib/unistr.h.tmp lib/unistr.h
# Change lib/unictype.h and lib/uninorm.h for shared libraries on Woe32 systems.
sed -e 's/extern const uc_general_category_t UC_/extern LIBUNISTRING_DLL_VARIABLE const uc_general_category_t UC_/' \
-e 's/extern const uc_property_t UC_/extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_/' \
- < lib/unictype.in.h \
- > lib/unictype.in.h.tmp \
- && mv lib/unictype.in.h.tmp lib/unictype.in.h
+ < lib/unictype.h \
+ > lib/unictype.h.tmp \
+ && mv lib/unictype.h.tmp lib/unictype.h
sed -e 's/extern const struct unicode_normalization_form /extern LIBUNISTRING_DLL_VARIABLE const struct unicode_normalization_form /' \
- < lib/uninorm.in.h \
- > lib/uninorm.in.h.tmp \
- && mv lib/uninorm.in.h.tmp lib/uninorm.in.h
+ < lib/uninorm.h \
+ > lib/uninorm.h.tmp \
+ && mv lib/uninorm.h.tmp lib/uninorm.h
sed -e 's/extern const casing_/extern LIBUNISTRING_DLL_VARIABLE const casing_/' \
- < lib/unicase.in.h \
- > lib/unicase.in.h.tmp \
- && mv lib/unicase.in.h.tmp lib/unicase.in.h
+ < lib/unicase.h \
+ > lib/unicase.h.tmp \
+ && mv lib/unicase.h.tmp lib/unicase.h
$GNULIB_TOOL --copy-file build-aux/config.guess; chmod a+x build-aux/config.guess
$GNULIB_TOOL --copy-file build-aux/config.sub; chmod a+x build-aux/config.sub
# If we got no texinfo.tex so far, take the snapshot from gnulib.