diff options
author | Stephen Kitt <skitt@debian.org> | 2016-05-27 10:11:04 +0200 |
---|---|---|
committer | Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> | 2016-05-27 14:28:33 +0100 |
commit | 752fd7247bc223bcea35bd89cf56d1c08ead9ba6 (patch) | |
tree | b4a428f847a963738faaf24c8eff070fdb03a3a5 /configure.ac | |
parent | 9f7d4fa477ff2a51d7c932b13d57ac22dc033105 (diff) | |
parent | a9a31b1de5776a3b08a82101a4fa711294f0dd1d (diff) |
Imported Debian patch 0.9.6+really0.9.3-0.1debian/0.9.6+really0.9.3-0.1
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 38fe5dd6..460244f9 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_CONFIG_SRCDIR([lib/unistring/version.in.h]) AC_CONFIG_AUX_DIR([build-aux]) . $srcdir/version.sh gl_INIT_PACKAGE([libunistring], [$VERSION_NUMBER]) -AM_INIT_AUTOMAKE([silent-rules dist-xz]) +AM_INIT_AUTOMAKE([silent-rules]) AM_CONFIG_HEADER([config.h]) dnl Override automake's tar command used for creating distributions. @@ -130,16 +130,10 @@ i\ 0 q ' -sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;} -i\ -0 -q -' changequote([,]) version_major=`echo "${VERSION}" | sed -n -e "$sed_extract_major"` version_minor=`echo "${VERSION}" | sed -n -e "$sed_extract_minor"` -version_subminor=`echo "${VERSION}" | sed -n -e "$sed_extract_subminor"` -HEXVERSION=0x`$AWK 'BEGIN { printf("%02X%02X%02X"',"$version_major","$version_minor","$version_subminor"') }'` +HEXVERSION=0x`$AWK 'BEGIN { printf("%02d%02d"',"$version_major","$version_minor"') }'` AC_SUBST([HEXVERSION]) dnl Check for tools needed for formatting the documentation. |