Thanks.
So, is next redaction (for autoconf 1.3) is good ?
(I will update it after releasing of snapshop)
P.S. this is CC-ed to autoconf archive maintainer.
P.P.S. btw, since dnl-s are obsoletete, html pages on
http://research.cys.de/autoconf-archive/ needs updating.
# RSSH_CHECK_SUNPROC_C([ACTION-IF-YES], [ACTION-IF-NOT])
# ------------------------------------------------------
# check : are we using SUN workshop C compiler.
# Corresponding cache value: rssh_cv_check_sunpro_c is set to yes or no
#
#@author Ruslan Shevchenko <[EMAIL PROTECTED]>, 1998, 2000
#@version $Id: RSSH_CHECK_SUNPRO_C.m4,v 1.4 2000/07/11 13:15:29 rssh Exp $
#
# RSSH_CHECK_SUNPRO_C([ACTION-IF-YES],[ACTION-IF-NOT])
#
AC_DEFUN([RSSH_CHECK_SUNPRO_C],
[AC_CACHE_CHECK([whether using Sun Worckshop C compiler],
[rssh_cv_check_sunpro_c],
[AC_LANG_SAVE
AC_LANG_C
AC_TRY_COMPILE([],
[#ifndef __SUNPRO_C
# include "error: this is not Sun Workshop."
#endif
],
rssh_cv_check_sunpro_c=yes,
rssh_cv_check_sunpro_c=no)
AC_LANG_RESTORE])
if test ${rssh_cv_check_sunpro_c} = yes
then
$2
else
$3
fi
])# RSSH_CHECK_SUNPROC_C