root/opal/include/opal_config_top.h

/* [<][>][^][v][top][bottom][index][help] */
   1 /*
   2  * Copyright (c) 2011 Cisco Systems, Inc.  All rights reserved.
   3  * $COPYRIGHT$
   4  *
   5  * Additional copyrights may follow
   6  *
   7  * $HEADER$
   8  *
   9  * This file is included at the top of opal_config.h, and is
  10  * therefore a) before all the #define's that were output from
  11  * configure, and b) included in most/all files in Open MPI.
  12  *
  13  * Since this file is *only* ever included by opal_config.h, and
  14  * opal_config.h already has #ifndef/#endif protection, there is no
  15  * need to #ifndef/#endif protection here.
  16  */
  17 
  18 #ifndef OPAL_CONFIG_H
  19 #error "opal_config_top.h should only be included from opal_config.h"
  20 #endif
  21 
  22 /* The only purpose of this file is to undef the PACKAGE_<foo> macros
  23    that are put in by autoconf/automake projects.  Specifically, if
  24    you include a .h file from another project that defines these
  25    macros (e.g., gmp.h) and then include OMPI/ORTE/OPAL's config.h,
  26    you'll get a preprocessor conflict.  So put these undef's here to
  27    protect us from other package's PACKAGE_<foo> macros.
  28 
  29    Note that we can't put them directly in opal_config.h (e.g., via
  30    AH_TOP) because they will be turned into #define's by autoconf. */
  31 
  32 #undef PACKAGE_BUGREPORT
  33 #undef PACKAGE_NAME
  34 #undef PACKAGE_STRING
  35 #undef PACKAGE_TARNAME
  36 #undef PACKAGE_VERSION
  37 #undef PACKAGE_URL
  38 #undef HAVE_CONFIG_H

/* [<][>][^][v][top][bottom][index][help] */