1
1

Generate static-component.h file C++ friendly.

This commit was SVN r11267.
Этот коммит содержится в:
George Bosilca 2006-08-20 13:48:24 +00:00
родитель 0cf537a826
Коммит 6b01358cc1

Просмотреть файл

@ -422,6 +422,9 @@ AC_DEFUN([MCA_CONFIGURE_FRAMEWORK],[
/*
* \$HEADER\$
*/
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
`cat $outfile.extern`
@ -429,6 +432,11 @@ const mca_base_component_t *mca_$2_base_static_components[[]] = {
`cat $outfile.struct`
NULL
};
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
EOF
# Only replace the header file if a) it doesn't previously
# exist, or b) the contents are different. Do this to not