Commit dea8e113 authored by fogal1's avatar fogal1

Defines via autoconf for symbol visibility.

Sets COMPONENT_CPPFLAGS with the set of defines needed for
proper avt symbol exporting.  Also a small fix for C code which
needs _Bool (i.e. cognomen).

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@7691 18c085ea-50e0-402c-830e-de6fd14e8384
parent 816a3e2a
This diff is collapsed.
......@@ -961,6 +961,10 @@ dnl I've made many changes, including: --enable-engine-only,
dnl --enable-server-components-only, --disable-select, --disable-nospin-bcast.
dnl These are aimed at getting VisIt to build on BlueGene/P.
dnl
dnl Tom Fogal, Tue Jun 30 21:30:34 MDT 2009
dnl Defined COMPONENT_CPPFLAGS for avt symbol export.
dnl Call AC_HEADER_STDBOOL.
dnl
dnl --------------------------------------------------------------------------
dnl
......@@ -1248,6 +1252,8 @@ AC_LANG_CPLUSPLUS
AC_TRY_LINK[]
AC_LANG_C
AC_HEADER_STDBOOL
#
# Check to see if the parallel version is enabled.
#
......@@ -3186,6 +3192,25 @@ AC_SUBST(PREPROCESSOR_PARALLEL_SRC)
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -I$""(TOPDIR)/include "
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -I$""(TOPDIR)/include/visit "
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS $VTK_INCLUDES "
# Proper export control for avt components.
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DAVTDDF_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DAVTFILEWRITER_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DAVTFILTERS_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DAVTSHAPELETS_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DAVTVIEW_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DDATABASE_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DDBATTS_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DEXPRESSION_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DIVP_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DMATH_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DMIR_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DPIPELINE_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DPLOTTER_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DPREP_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DQTVISWINDOW_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DQUERY_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DVISWINDOW_EXPORTS"
COMPONENT_CPPFLAGS="$COMPONENT_CPPFLAGS -DEXPRESSION_EXPORTS"
AC_SUBST(COMPONENT_CPPFLAGS)
VISIT_VTK_CPPFLAGS="$VISIT_VTK_CPPFLAGS $VTK_INCLUDES -I$""(TOPDIR)/include/visit"
......
/* include/visit-config.h.in. Generated from configure.in by autoheader. */
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* Define if this is a database I/O only build */
#undef DBIO_ONLY
......@@ -90,6 +93,9 @@
/* Define if socklen_t is defined. */
#undef HAVE_SOCKLEN_T
/* Define to 1 if stdbool.h conforms to C99. */
#undef HAVE_STDBOOL_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
......@@ -129,6 +135,9 @@
/* Define to 1 if you have the <zlib.h> header file. */
#undef HAVE_ZLIB_H
/* Define to 1 if the system has the type `_Bool'. */
#undef HAVE__BOOL
/* Define NO_SETBUF if streambuf::setbuf is not public. */
#undef NO_SETBUF
......@@ -154,55 +163,55 @@
*/
#undef PTY_SYSV
/* The size of a `boolean', as computed by sizeof. */
/* The size of `boolean', as computed by sizeof. */
#undef SIZEOF_BOOLEAN
/* The size of a `char', as computed by sizeof. */
/* The size of `char', as computed by sizeof. */
#undef SIZEOF_CHAR
/* The size of a `double', as computed by sizeof. */
/* The size of `double', as computed by sizeof. */
#undef SIZEOF_DOUBLE
/* The size of a `float', as computed by sizeof. */
/* The size of `float', as computed by sizeof. */
#undef SIZEOF_FLOAT
/* The size of a `int', as computed by sizeof. */
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of a `long', as computed by sizeof. */
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of a `long double', as computed by sizeof. */
/* The size of `long double', as computed by sizeof. */
#undef SIZEOF_LONG_DOUBLE
/* The size of a `long float', as computed by sizeof. */
/* The size of `long float', as computed by sizeof. */
#undef SIZEOF_LONG_FLOAT
/* The size of a `long long', as computed by sizeof. */
/* The size of `long long', as computed by sizeof. */
#undef SIZEOF_LONG_LONG
/* The size of a `off64_t', as computed by sizeof. */
/* The size of `off64_t', as computed by sizeof. */
#undef SIZEOF_OFF64_T
/* The size of a `short', as computed by sizeof. */
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* The size of a `unsigned char', as computed by sizeof. */
/* The size of `unsigned char', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_CHAR
/* The size of a `unsigned int', as computed by sizeof. */
/* The size of `unsigned int', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_INT
/* The size of a `unsigned long', as computed by sizeof. */
/* The size of `unsigned long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG
/* The size of a `unsigned long long', as computed by sizeof. */
/* The size of `unsigned long long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG_LONG
/* The size of a `unsigned short', as computed by sizeof. */
/* The size of `unsigned short', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_SHORT
/* The size of a `void *', as computed by sizeof. */
/* The size of `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
/* Define to 1 if you have the ANSI C header files. */
......@@ -241,9 +250,17 @@
/* VisIt version */
#undef VISIT_VERSION
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Define to `int' if <sys/types.h> doesn't define. */
#undef gid_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment