Configure.hxx.in 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*=========================================================================
  2. Program: KWSys - Kitware System Library
  3. Module: $RCSfile$
  4. Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
  5. See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even
  7. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  8. PURPOSE. See the above copyright notices for more information.
  9. =========================================================================*/
  10. #ifndef @KWSYS_NAMESPACE@_Configure_hxx
  11. #define @KWSYS_NAMESPACE@_Configure_hxx
  12. /* Whether kwsys namespace is "kwsys". */
  13. #define @KWSYS_NAMESPACE@_NAME_IS_KWSYS @KWSYS_NAME_IS_KWSYS@
  14. /* Whether ANSI C++ stream headers are to be used. */
  15. #define @KWSYS_NAMESPACE@_IOS_USE_ANSI @KWSYS_IOS_USE_ANSI@
  16. /* Whether ANSI C++ streams are in std namespace. */
  17. #define @KWSYS_NAMESPACE@_IOS_HAVE_STD @KWSYS_IOS_HAVE_STD@
  18. /* Whether ANSI C++ <sstream> header is to be used. */
  19. #define @KWSYS_NAMESPACE@_IOS_USE_SSTREAM @KWSYS_IOS_USE_SSTREAM@
  20. /* Whether old C++ <strstream.h> header is to be used. */
  21. #define @KWSYS_NAMESPACE@_IOS_USE_STRSTREAM_H @KWSYS_IOS_USE_STRSTREAM_H@
  22. /* Whether old C++ <strstrea.h> header is to be used. */
  23. #define @KWSYS_NAMESPACE@_IOS_USE_STRSTREA_H @KWSYS_IOS_USE_STRSTREA_H@
  24. /* Whether STL is in std namespace. */
  25. #define @KWSYS_NAMESPACE@_STL_HAVE_STD @KWSYS_STL_HAVE_STD@
  26. /* Define the stl namespace macro. */
  27. #if @KWSYS_NAMESPACE@_STL_HAVE_STD
  28. # define @KWSYS_NAMESPACE@_stl std
  29. #else
  30. # define @KWSYS_NAMESPACE@_stl
  31. #endif
  32. /* Define the ios namespace macro. */
  33. #if @KWSYS_NAMESPACE@_IOS_HAVE_STD
  34. # define @KWSYS_NAMESPACE@_ios_namespace std
  35. #else
  36. # define @KWSYS_NAMESPACE@_ios_namespace
  37. #endif
  38. #if @KWSYS_NAMESPACE@_IOS_USE_SSTREAM
  39. # define @KWSYS_NAMESPACE@_ios @KWSYS_NAMESPACE@_ios_namespace
  40. #else
  41. # define @KWSYS_NAMESPACE@_ios @KWSYS_NAMESPACE@_ios
  42. #endif
  43. /* Whether struct stat has the st_mtim member for high resolution times. */
  44. #define @KWSYS_NAMESPACE@_STAT_HAS_ST_MTIM @KWSYS_STAT_HAS_ST_MTIM@
  45. /* If building a C++ file in kwsys itself, give the source file
  46. access to the macros without a configured namespace. */
  47. #if defined(KWSYS_NAMESPACE)
  48. # if !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
  49. # define kwsys_stl @KWSYS_NAMESPACE@_stl
  50. # define kwsys_ios @KWSYS_NAMESPACE@_ios
  51. # endif
  52. # define KWSYS_NAME_IS_KWSYS @KWSYS_NAMESPACE@_NAME_IS_KWSYS
  53. # define KWSYS_STL_HAVE_STD @KWSYS_NAMESPACE@_STL_HAVE_STD
  54. # define KWSYS_IOS_HAVE_STD @KWSYS_NAMESPACE@_IOS_HAVE_STD
  55. # define KWSYS_IOS_USE_ANSI @KWSYS_NAMESPACE@_IOS_USE_ANSI
  56. # define KWSYS_IOS_USE_SSTREAM @KWSYS_NAMESPACE@_IOS_USE_SSTREAM
  57. # define KWSYS_IOS_USE_STRSTREAM_H @KWSYS_NAMESPACE@_IOS_USE_STRSTREAM_H
  58. # define KWSYS_IOS_USE_STRSTREA_H @KWSYS_NAMESPACE@_IOS_USE_STRSTREA_H
  59. # define KWSYS_STAT_HAS_ST_MTIM @KWSYS_NAMESPACE@_STAT_HAS_ST_MTIM
  60. #endif
  61. #endif