mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
245 lines
5.0 KiB
Puppet
245 lines
5.0 KiB
Puppet
//
|
|
// LocalSetup.pp
|
|
//
|
|
// This file contains further instructions to set up the DTOOL package
|
|
// when using ppremake. In particular, it creates the dtool_config.h
|
|
// file based on the user's selected configure variables. This script
|
|
// need not execute when BUILD_TYPE is "autoconf"; in this case, the
|
|
// dtool_config.h file will automatically be correctly generated by
|
|
// configure.
|
|
//
|
|
|
|
#if $[ne $[BUILD_TYPE],autoconf]
|
|
|
|
// A couple of variables to output the C #define and #undef
|
|
// directives, since we can't type them literally.
|
|
#define define #define
|
|
#define undef #undef
|
|
|
|
#output dtool_config.h
|
|
#format straight
|
|
/* dtool_config.h. Generated automatically by $[PROGRAM] $[PROGVER] from $[SOURCEFILE]. */
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
$[define] STDC_HEADERS 1
|
|
|
|
/* Define if your processor stores words with the most significant
|
|
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
#if $[WORDS_BIGENDIAN]
|
|
$[define] WORDS_BIGENDIAN 1
|
|
#else
|
|
$[undef] WORDS_BIGENDIAN
|
|
#endif
|
|
|
|
/* Define if the X Window System is missing or not being used. */
|
|
$[undef] X_DISPLAY_MISSING
|
|
|
|
/* Define if lex declares yytext as a char * by default, not a char[]. */
|
|
$[undef] YYTEXT_POINTER
|
|
|
|
/* Define if the C++ compiler uses namespaces. */
|
|
#if $[HAVE_NAMESPACE]
|
|
$[define] HAVE_NAMESPACE 1
|
|
#else
|
|
$[undef] HAVE_NAMESPACE
|
|
#endif
|
|
|
|
/* Define if the C++ iostream library supports ios::binary. */
|
|
#if $[HAVE_IOS_BINARY]
|
|
$[define] HAVE_IOS_BINARY 1
|
|
#else
|
|
$[undef] HAVE_IOS_BINARY
|
|
#endif
|
|
|
|
/* Define if we have Python installed. */
|
|
#if $[HAVE_PYTHON]
|
|
$[define] HAVE_PYTHON 1
|
|
#else
|
|
$[undef] HAVE_PYTHON
|
|
#endif
|
|
|
|
/* Define if we have NSPR installed. */
|
|
#if $[HAVE_NSPR]
|
|
$[define] HAVE_NSPR 1
|
|
#else
|
|
$[undef] HAVE_NSPR
|
|
#endif
|
|
|
|
/* Define if we have VRPN installed. */
|
|
#if $[HAVE_VRPN]
|
|
$[define] HAVE_VRPN 1
|
|
#else
|
|
$[undef] HAVE_VRPN
|
|
#endif
|
|
|
|
/* Define if we have zlib installed. */
|
|
#if $[HAVE_ZLIB]
|
|
$[define] HAVE_ZLIB 1
|
|
#else
|
|
$[undef] HAVE_ZLIB
|
|
#endif
|
|
|
|
/* Define if we have sox libst installed. */
|
|
#if $[HAVE_SOXST]
|
|
$[define] HAVE_SOXST 1
|
|
#else
|
|
$[undef] HAVE_SOXST
|
|
#endif
|
|
|
|
/* Define if we have OpenGL installed and want to build for GL. */
|
|
#if $[HAVE_GL]
|
|
$[define] HAVE_GL 1
|
|
#else
|
|
$[undef] HAVE_GL
|
|
#endif
|
|
|
|
/* Define if we have GLX installed and want to build for GLX. */
|
|
#if $[HAVE_GLX]
|
|
$[define] HAVE_GLX 1
|
|
#else
|
|
$[undef] HAVE_GLX
|
|
#endif
|
|
|
|
/* Define if we have Glut installed and want to build for Glut. */
|
|
#if $[HAVE_GLUT]
|
|
$[define] HAVE_GLUT 1
|
|
#else
|
|
$[undef] HAVE_GLUT
|
|
#endif
|
|
|
|
/* Define if we have DirectX installed and want to build for DX. */
|
|
#if $[HAVE_DX]
|
|
$[define] HAVE_DX 1
|
|
#else
|
|
$[undef] HAVE_DX
|
|
#endif
|
|
|
|
/* Define if we want to build the Renderman interface. */
|
|
#if $[HAVE_RIB]
|
|
$[define] HAVE_RIB 1
|
|
#else
|
|
$[undef] HAVE_RIB
|
|
#endif
|
|
|
|
/* Define if we want to use mikmod for audio. */
|
|
#if $[HAVE_MIKMOD]
|
|
$[define] HAVE_MIKMOD 1
|
|
#else
|
|
$[undef] HAVE_MIKMOD
|
|
#endif
|
|
|
|
/* Define if we want to compile the net code. */
|
|
#if $[HAVE_NET]
|
|
$[define] HAVE_NET 1
|
|
#else
|
|
$[undef] HAVE_NET
|
|
#endif
|
|
|
|
/* Define if we want to compile the audio code. */
|
|
#if $[HAVE_AUDIO]
|
|
$[define] HAVE_AUDIO 1
|
|
#else
|
|
$[undef] HAVE_AUDIO
|
|
#endif
|
|
|
|
/* Define if we have a gettimeofday() function. */
|
|
#if $[HAVE_GETTIMEOFDAY]
|
|
$[define] HAVE_GETTIMEOFDAY 1
|
|
#else
|
|
$[undef] HAVE_GETTIMEOFDAY
|
|
#endif
|
|
|
|
/* Define if gettimeofday() takes only one parameter. */
|
|
#if $[GETTIMEOFDAY_ONE_PARAM]
|
|
$[define] GETTIMEOFDAY_ONE_PARAM 1
|
|
#else
|
|
$[undef] GETTIMEOFDAY_ONE_PARAM
|
|
#endif
|
|
|
|
/* Define if you have the getopt function. */
|
|
#if $[HAVE_GETOPT]
|
|
$[define] HAVE_GETOPT 1
|
|
#else
|
|
$[undef] HAVE_GETOPT
|
|
#endif
|
|
|
|
/* Define if you have the getopt_long_only function. */
|
|
#if $[HAVE_GETOPT_LONG_ONLY]
|
|
$[define] HAVE_GETOPT_LONG_ONLY 1
|
|
#else
|
|
$[undef] HAVE_GETOPT_LONG_ONLY
|
|
#endif
|
|
|
|
/* Define if you have ioctl(TIOCGWINSZ) to determine terminal width. */
|
|
#if $[IOCTL_TERMINAL_WIDTH]
|
|
$[define] IOCTL_TERMINAL_WIDTH 1
|
|
#else
|
|
$[undef] IOCTL_TERMINAL_WIDTH
|
|
#endif
|
|
|
|
/* Define if you have the <io.h> header file. */
|
|
#if $[HAVE_IO_H]
|
|
$[define] HAVE_IO_H 1
|
|
#else
|
|
$[undef] HAVE_IO_H
|
|
#endif
|
|
|
|
/* Define if you have the <iostream> header file. */
|
|
#if $[HAVE_IOSTREAM]
|
|
$[define] HAVE_IOSTREAM 1
|
|
#else
|
|
$[undef] HAVE_IOSTREAM
|
|
#endif
|
|
|
|
/* Define if you have the <malloc.h> header file. */
|
|
#if $[HAVE_MALLOC_H]
|
|
$[define] HAVE_MALLOC_H 1
|
|
#else
|
|
$[undef] HAVE_MALLOC_H
|
|
#endif
|
|
|
|
/* Define if you have the <alloca.h> header file. */
|
|
#if $[HAVE_ALLOCA_H]
|
|
$[define] HAVE_ALLOCA_H 1
|
|
#else
|
|
$[undef] HAVE_ALLOCA_H
|
|
#endif
|
|
|
|
/* Define if you have the <minmax.h> header file. */
|
|
#if $[HAVE_MINMAX_H]
|
|
$[define] HAVE_MINMAX_H 1
|
|
#else
|
|
$[undef] HAVE_MINMAX_H
|
|
#endif
|
|
|
|
/* Define if you have the <sstream> header file. */
|
|
#if $[HAVE_SSTREAM]
|
|
$[define] HAVE_SSTREAM 1
|
|
#else
|
|
$[undef] HAVE_SSTREAM
|
|
#endif
|
|
|
|
/* Define if you have the <sys/types.h> header file. */
|
|
#if $[HAVE_SYS_TYPES]
|
|
$[define] HAVE_SYS_TYPES 1
|
|
#else
|
|
$[undef] HAVE_SYS_TYPES
|
|
#endif
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
#if $[HAVE_UNISTD_H]
|
|
$[define] HAVE_UNISTD_H 1
|
|
#else
|
|
$[undef] HAVE_UNISTD_H
|
|
#endif
|
|
|
|
/* Name of package */
|
|
$[define] PACKAGE $[PACKAGE]
|
|
|
|
/* Version number of package */
|
|
$[define] VERSION $[VERSION]
|
|
|
|
#end dtool_config.h
|
|
|
|
#endif // BUILD_TYPE
|