diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-29 01:50:36 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-29 01:50:36 +0000 |
commit | 942c800a9d82bd279759b24273b6df5ad3e31130 (patch) | |
tree | 0c33d08125556fdafe5c2aec5fb173f399ccf340 /m4/threads.m4 | |
parent | d6849160e2ad6df2ab3610a1acf7d8190964bb12 (diff) | |
download | ATCD-942c800a9d82bd279759b24273b6df5ad3e31130.tar.gz |
Removed some M4 comments that were wreaking havoc with the thread
tests. Go figure.
Diffstat (limited to 'm4/threads.m4')
-rw-r--r-- | m4/threads.m4 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/m4/threads.m4 b/m4/threads.m4 index d803402235b..8ff7c239f60 100644 --- a/m4/threads.m4 +++ b/m4/threads.m4 @@ -351,22 +351,22 @@ AC_DEFUN(ACE_CHECK_THREAD_FLAGS, dnl [ ACE_CONVERT_WARNINGS_TO_ERRORS([ AC_TRY_LINK( -ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus -extern "C" -#endif - +[ #ifndef _REENTRANT #error _REENTRANT was not defined THROW ME AN ERROR! #endif -])dnl +] +ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus +extern "C" +#endif +]) [ char thr_create(); ], [ thr_create(); ], [$1], [ -dnl AC_REQUIRE([AC_PROG_AWK]) AC_TRY_CPP( @@ -394,14 +394,15 @@ EOF fi dnl test "$ace_header_not_exist" != yes AC_TRY_LINK( -ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus -extern "C" -#endif - +[ #ifndef _REENTRANT #error _REENTRANT was not defined THROW ME AN ERROR! #endif +] +ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus +extern "C" +#endif ])dnl [ char $ace_real_function(); @@ -409,7 +410,6 @@ char $ace_real_function(); $ace_real_function(); ], [$1],[$2]) -dnl ]) ]) ]) |