diff options
Diffstat (limited to 'unicode/courier-unicode-version.m4.in')
| -rw-r--r-- | unicode/courier-unicode-version.m4.in | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/unicode/courier-unicode-version.m4.in b/unicode/courier-unicode-version.m4.in index b9226d4..272d3ce 100644 --- a/unicode/courier-unicode-version.m4.in +++ b/unicode/courier-unicode-version.m4.in @@ -33,22 +33,21 @@ then fi fi -AC_TRY_COMPILE([ +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <courier-unicode.h> #ifndef COURIER_UNICODE_VERSION #define COURIER_UNICODE_VERSION 0 #endif -#if COURIER_UNICODE_VERSION < ]$v$r$p[ -#error "courier-unicode ]$vers[ library is required" +#if COURIER_UNICODE_VERSION < $v$r$p +#error "courier-unicode $vers library is required" #endif -],[],[], -AC_MSG_ERROR([ -ERROR: The Courier Unicode Library ]$vers[ header files appear not to be installed. +]], [[]])],[],[AC_MSG_ERROR( +ERROR: The Courier Unicode Library $vers header files appear not to be installed. You may need to upgrade the library or install a separate development -subpackage in addition to the main package.]) -) +subpackage in addition to the main package.) +]) AC_MSG_RESULT([ok]) ]) |
