From 57cb7ea3aeb1828978f17de7fb94e6e92878b719 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Sun, 25 Nov 2001 02:19:19 +0000 Subject: Updated to match the new coding standard for autoconf2.5x --- acinclude.m4 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 5c9f662..a8a88b4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -13,10 +13,10 @@ dnl This macro should be invoked after all the header checks have been dnl performed, since we #include "confdefs.h" below, and then use the dnl HAVE_foo_H values that is can #define. dnl -AC_DEFUN(AC_UNP_CHECK_TYPE, - [AC_MSG_CHECKING(if $1 defined) - AC_CACHE_VAL(ac_cv_type_$1, - AC_TRY_COMPILE( +AC_DEFUN([AC_UNP_CHECK_TYPE], + [AC_MSG_CHECKING(if $1 defined) + AC_CACHE_VAL(ac_cv_type_$1, + [AC_TRY_COMPILE( [ #include "confdefs.h" /* the header built by configure so far */ #ifdef HAVE_SYS_TYPES_H @@ -93,10 +93,11 @@ AC_DEFUN(AC_UNP_CHECK_TYPE, #endif ], [ $1 foo ], - ac_cv_type_$1=yes, - ac_cv_type_$1=no)) - AC_MSG_RESULT($ac_cv_type_$1) + [ac_cv_type_$1=yes], + [ac_cv_type_$1=no])]) + AC_MSG_RESULT([$ac_cv_type_$1]) if test $ac_cv_type_$1 = no ; then + AH_TEMPLATE([$1], [Defined with the proper type.]) AC_DEFINE($1, $2) fi ]) \ No newline at end of file -- cgit v1.2.3