Switch to unified view

a/unac/configure.ac b/unac/configure.ac
...
...
13
#
13
#
14
# You should have received a copy of the GNU General Public License
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
#
17
#
18
AC_INIT(config.h.in)
18
AC_INIT([unac], 1.7.0)
19
VERSION=`cat ${srcdir}/.version`
19
VERSION=`cat ${srcdir}/.version`
20
MAJOR_VERSION=[`expr $VERSION : '\([0-9][0-9]*\)'`]
20
MAJOR_VERSION=[`expr $VERSION : '\([0-9][0-9]*\)'`]
21
AC_SUBST(MAJOR_VERSION)
21
AC_SUBST(MAJOR_VERSION)
22
MINOR_VERSION=[`expr $VERSION : '[0-9][0-9]*\.\([0-9][0-9]*\)'`]
22
MINOR_VERSION=[`expr $VERSION : '[0-9][0-9]*\.\([0-9][0-9]*\)'`]
23
AC_SUBST(MINOR_VERSION)
23
AC_SUBST(MINOR_VERSION)
24
MICRO_VERSION=[`expr $VERSION : '[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)'`]
24
MICRO_VERSION=[`expr $VERSION : '[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)'`]
25
AC_SUBST(MICRO_VERSION)
25
AC_SUBST(MICRO_VERSION)
26
AM_INIT_AUTOMAKE([unac], $VERSION, nosubst)
26
AM_INIT_AUTOMAKE()
27
AC_PREREQ(2.13)
27
AC_PREREQ(2.13)
28
28
29
AM_CONFIG_HEADER(config.h)
29
AM_CONFIG_HEADER(config.h)
30
30
31
AC_PROG_MAKE_SET
31
AC_PROG_MAKE_SET
32
32
33
dnl
33
dnl
34
dnl Unicode version used by unac, as published at http://www.unicode.org/Public/
34
dnl Unicode version used by unac, as published at http://www.unicode.org/Public/
35
dnl
35
dnl
36
UNICODE_VERSION=5.1.0
36
UNICODE_VERSION=6.3.0
37
AC_SUBST(UNICODE_VERSION)
37
AC_SUBST(UNICODE_VERSION)
38
38
39
AC_PROG_CC
39
AC_PROG_CC
40
AC_AIX
40
AC_AIX
41
AC_COMPILE_WARNINGS
41
AC_COMPILE_WARNINGS
...
...
47
47
48
AM_MAINTAINER_MODE
48
AM_MAINTAINER_MODE
49
49
50
AM_ICONV
50
AM_ICONV
51
51
52
AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
52
#AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
53
iconv_open not found try to install replacement from
53
#iconv_open not found try to install replacement from
54
http://www.gnu.org/software/libiconv/
54
#http://www.gnu.org/software/libiconv/
55
ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz]))
55
#ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz]))
56
56
57
AC_CHECK_FUNCS(vsnprintf)
57
AC_CHECK_FUNCS(vsnprintf)
58
58
59
AC_LIBSOURCES(getopt.c)
59
AC_LIBSOURCES(getopt.c)
60
AC_CHECK_FUNCS(getopt_long,,[AC_LIBOBJ(getopt)])
60
AC_CHECK_FUNCS(getopt_long,,[AC_LIBOBJ(getopt)])