1. I want to start process of integrating of my set of macroses for C/C++/CORBA stuff in main autoconf/autoconf archive tree. It's second attepmpt, first was near year ago ;) . 2. I will submitt ones step-by-step and will check inclusion/some reaction from archive maintainer for each macros. 3. The first macro from this set is attached.
dnl@synonips RSSH_CHECK_SUNPROC_C([ACTION-IF-YES],[ACTION-IF-NOT]) dnl check : are we using SUN workshop C compiler. dnl Corresponding cache value: rssh_cv_check_sunpro_c is set to yes or no. dnl dnl@author Ruslan Shevchenko <[EMAIL PROTECTED]>, 1998, 2000 dnl@version $Id: RSSH_CHECK_SUNPRO_C.m4,v 1.3 2000/07/07 16:11:56 rssh Exp $ dnl dnl RSSH_CHECK_SUNPRO_C([ACTION-IF-YES],[ACTION-IF-NOT]) dnl AC_DEFUN(RSSH_CHECK_SUNPRO_C,[ AC_MSG_CHECKING( Are we use Sun Worckshop C compiler ) AC_LANG_SAVE AC_LANG_C AC_CACHE_VAL(rssh_cv_check_sunpro_c,[ AC_TRY_COMPILE(, #ifndef __SUNPRO_C #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 [$1] : else [$2] : fi AC_MSG_RESULT($rssh_cv_check_sunpro_c) ])dnl dnl dnl