diff options
Diffstat (limited to 'unicode/configure.ac')
| -rw-r--r-- | unicode/configure.ac | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/unicode/configure.ac b/unicode/configure.ac index 3604371..552c203 100644 --- a/unicode/configure.ac +++ b/unicode/configure.ac @@ -1,9 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([courier-unicode], [2.2.3.20220416], - [courier-users@lists.sourceforge.net]) - ->confdefs.h # Kill PACKAGE_ macros +AC_INIT([courier-unicode],[2.2.4],[courier-users@lists.sourceforge.net]) AC_CONFIG_SRCDIR(unicodecpp.C) @@ -16,15 +13,15 @@ AM_INIT_AUTOMAKE([foreign no-define dist-bzip2]) dnl Checks for programs. AC_PROG_MAKE_SET -AM_PROG_LIBTOOL +LT_INIT AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_CC -AC_PROG_CC_C99 AC_PROG_CXX AX_COURIER_UNICODE_CXXFLAGS AC_SUBST(COURIER_UNICODE_CXXFLAGS) +AC_SUBST(EXTRA_CXXFLAGS) AC_PATH_PROGS(PERL, perl5 perl, perl, $LPATH) @@ -46,13 +43,13 @@ dnl Checks for library functions. have_langinfo_l=0 AC_CHECK_FUNC(nl_langinfo_l,[ - AC_TRY_COMPILE([ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <langinfo.h> -],[ +]], [[ nl_langinfo_l(CODESET, (locale_t)0); -],[ +]])],[ have_langinfo_l=1 - ])]) + ],[])]) if test "$have_langinfo_l" != 0 then @@ -63,15 +60,13 @@ else fi -AC_TRY_COMPILE([ +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <uchar.h> char32_t c; -],[ -], -[ +]], [[ +]])],[ HAVE_UCHAR_H=1 -], -[ +],[ HAVE_UCHAR_H=0 ]) |
