diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-11-25 02:19:19 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-11-25 02:19:19 +0000 |
commit | 57cb7ea3aeb1828978f17de7fb94e6e92878b719 (patch) | |
tree | 6ec890d04aa8bbfe6d4e0a313443154f2bca7974 | |
parent | 3a67f6a326ca44c64c7c4f6821b31afa6b8ba068 (diff) | |
download | tinyproxy-57cb7ea3aeb1828978f17de7fb94e6e92878b719.tar.gz tinyproxy-57cb7ea3aeb1828978f17de7fb94e6e92878b719.zip |
Updated to match the new coding standard for autoconf2.5x
Diffstat (limited to '')
-rw-r--r-- | acinclude.m4 | 15 |
1 files 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 |