*** empty log message ***

This commit is contained in:
David Rose 2000-11-14 22:07:23 +00:00
parent 39f7645641
commit 8a07e77229
3 changed files with 86 additions and 1 deletions

View File

@ -162,6 +162,19 @@
#define CRYPTO_LIBS cryptlib
#defer HAVE_CRYPTO $[libtest $[CRYPTO_LPATH],$[CRYPTO_LIBS]]
// Is libjpeg installed, and where?
#define JPEG_IPATH
#define JPEG_LPATH
#define JPEG_LIBS jpeg
#defer HAVE_JPEG $[libtest $[JPEG_LPATH],$[JPEG_LIBS]]
// Is libtiff installed, and where?
#define TIFF_IPATH
#define TIFF_LPATH
#define TIFF_LIBS tiff
#defer HAVE_TIFF $[libtest $[TIFF_LPATH],$[TIFF_LIBS]]
// Is VRPN installed, and where?
#define VRPN_IPATH
#define VRPN_LPATH

View File

@ -34,6 +34,12 @@ $[cdefine HAVE_NSPR]
/* Define if we have crypto++ installed. */
$[cdefine HAVE_CRYPTO]
/* Define if we have libjpeg installed. */
$[cdefine HAVE_JPEG]
/* Define if we have libtiff installed. */
$[cdefine HAVE_TIFF]
/* Define if we have VRPN installed. */
$[cdefine HAVE_VRPN]

View File

@ -78,51 +78,73 @@
#if $[HAVE_NSPR]
#define nspr_ipath $[wildcard $[NSPR_IPATH]]
#define nspr_lpath $[wildcard $[NSPR_LPATH]]
#define nspr_cflags $[NSPR_CFLAGS]
#define nspr_libs $[NSPR_LIBS]
#endif
#if $[HAVE_CRYPTO]
#define crypto_ipath $[wildcard $[CRYPTO_IPATH]]
#define crypto_lpath $[wildcard $[CRYPTO_LPATH]]
#define crypto_cflags $[CRYPTO_CFLAGS]
#define crypto_libs $[CRYPTO_LIBS]
#endif
#if $[HAVE_ZLIB]
#define zlib_ipath $[wildcard $[ZLIB_IPATH]]
#define zlib_lpath $[wildcard $[ZLIB_LPATH]]
#define zlib_cflags $[ZLIB_CFLAGS]
#define zlib_libs $[ZLIB_LIBS]
#endif
#if $[HAVE_SOXST]
#define soxst_ipath $[wildcard $[SOXST_IPATH]]
#define soxst_lpath $[wildcard $[SOXST_LPATH]]
#define soxst_cflags $[SOXST_CFLAGS]
#define soxst_libs $[SOXST_LIBS]
#endif
#if $[HAVE_GL]
#define gl_ipath $[wildcard $[GL_IPATH]]
#define gl_lpath $[wildcard $[GL_LPATH]]
#define gl_cflags $[GL_CFLAGS]
#define gl_libs $[GL_LIBS]
#endif
#if $[HAVE_GLX]
#define glx_ipath $[wildcard $[GLX_IPATH]]
#define glx_lpath $[wildcard $[GLX_LPATH]]
#define glx_cflags $[GLX_CFLAGS]
#define glx_libs $[GLX_LIBS]
#endif
#if $[HAVE_GLUT]
#define glut_ipath $[wildcard $[GLUT_IPATH]]
#define glut_lpath $[wildcard $[GLUT_LPATH]]
#define glut_cflags $[GLUT_CFLAGS]
#define glut_libs $[GLUT_LIBS]
#endif
#if $[HAVE_DX]
#define dx_ipath $[wildcard $[DX_IPATH]]
#define dx_lpath $[wildcard $[DX_LPATH]]
#define dx_cflags $[DX_CFLAGS]
#define dx_libs $[DX_LIBS]
#endif
#if $[HAVE_JPEG]
#define jpeg_ipath $[wildcard $[JPEG_IPATH]]
#define jpeg_lpath $[wildcard $[JPEG_LPATH]]
#define jpeg_cflags $[JPEG_CFLAGS]
#define jpeg_libs $[JPEG_LIBS]
#endif
#if $[HAVE_TIFF]
#define tiff_ipath $[wildcard $[TIFF_IPATH]]
#define tiff_lpath $[wildcard $[TIFF_LPATH]]
#define tiff_cflags $[TIFF_CFLAGS]
#define tiff_libs $[TIFF_LIBS]
#endif
#if $[HAVE_VRPN]
#define vrpn_ipath $[wildcard $[VRPN_IPATH]]
#define vrpn_lpath $[wildcard $[VRPN_LPATH]]
@ -187,6 +209,8 @@
$[or $[not $[DIRECTORY_IF_RIB]],$[HAVE_RIB]], \
$[or $[not $[DIRECTORY_IF_PS2]],$[HAVE_PS2]], \
$[or $[not $[DIRECTORY_IF_SGIGL]],$[HAVE_SGIGL]], \
$[or $[not $[DIRECTORY_IF_JPEG]],$[HAVE_JPEG]], \
$[or $[not $[DIRECTORY_IF_TIFF]],$[HAVE_TIFF]], \
$[or $[not $[DIRECTORY_IF_VRPN]],$[HAVE_VRPN]], \
$[or $[not $[DIRECTORY_IF_GTKMM]],$[HAVE_GTKMM]], \
$[or $[not $[DIRECTORY_IF_MAYA]],$[HAVE_MAYA]], \
@ -213,6 +237,8 @@
$[or $[not $[TARGET_IF_RIB]],$[HAVE_RIB]], \
$[or $[not $[TARGET_IF_PS2]],$[HAVE_PS2]], \
$[or $[not $[TARGET_IF_SGIGL]],$[HAVE_SGIGL]], \
$[or $[not $[TARGET_IF_JPEG]],$[HAVE_JPEG]], \
$[or $[not $[TARGET_IF_TIFF]],$[HAVE_TIFF]], \
$[or $[not $[TARGET_IF_VRPN]],$[HAVE_VRPN]], \
$[or $[not $[TARGET_IF_GTKMM]],$[HAVE_GTKMM]], \
$[or $[not $[TARGET_IF_MAYA]],$[HAVE_MAYA]], \
@ -246,6 +272,8 @@
#defer get_sources \
$[SOURCES] \
$[if $[HAVE_CRYPTO],$[IF_CRYPTO_SOURCES]] \
$[if $[HAVE_JPEG],$[IF_JPEG_SOURCES]] \
$[if $[HAVE_TIFF],$[IF_TIFF_SOURCES]] \
$[if $[HAVE_ZLIB],$[IF_ZLIB_SOURCES]] \
$[if $[HAVE_IPC],$[IF_IPC_SOURCES]] \
$[if $[HAVE_NET],$[IF_NET_SOURCES]] \
@ -254,6 +282,8 @@
#defer all_sources \
$[SOURCES] \
$[IF_CRYPTO_SOURCES] \
$[IF_JPEG_SOURCES] \
$[IF_TIFF_SOURCES] \
$[IF_ZLIB_SOURCES] \
$[IF_IPC_SOURCES] \
$[IF_NET_SOURCES] \
@ -323,6 +353,15 @@
#if $[ne $[USE_NET] $[components $[USE_NET],$[active_component_libs]],]
#set alt_cflags $[alt_cflags] $[net_cflags]
#endif
#if $[ne $[USE_JPEG] $[components $[USE_JPEG],$[active_component_libs]],]
#set alt_cflags $[alt_cflags] $[jpeg_cflags]
#endif
#if $[ne $[USE_TIFF] $[components $[USE_TIFF],$[active_component_libs]],]
#set alt_cflags $[alt_cflags] $[tiff_cflags]
#endif
#if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
#set alt_cflags $[alt_cflags] $[vrpn_cflags]
#endif
#if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
#set alt_cflags $[alt_cflags] $[audio_cflags]
#endif
@ -373,6 +412,15 @@
#if $[ne $[USE_NET] $[components $[USE_NET],$[active_component_libs]],]
#set alt_ipath $[alt_ipath] $[net_ipath]
#endif
#if $[ne $[USE_JPEG] $[components $[USE_JPEG],$[active_component_libs]],]
#set alt_ipath $[alt_ipath] $[jpeg_ipath]
#endif
#if $[ne $[USE_TIFF] $[components $[USE_TIFF],$[active_component_libs]],]
#set alt_ipath $[alt_ipath] $[tiff_ipath]
#endif
#if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
#set alt_ipath $[alt_ipath] $[vrpn_ipath]
#endif
#if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
#set alt_ipath $[alt_ipath] $[audio_ipath]
#endif
@ -423,6 +471,15 @@
#if $[ne $[USE_NET] $[components $[USE_NET],$[active_component_libs]],]
#set alt_lpath $[alt_lpath] $[net_lpath]
#endif
#if $[ne $[USE_JPEG] $[components $[USE_JPEG],$[active_component_libs]],]
#set alt_lpath $[alt_lpath] $[jpeg_lpath]
#endif
#if $[ne $[USE_TIFF] $[components $[USE_TIFF],$[active_component_libs]],]
#set alt_lpath $[alt_lpath] $[tiff_lpath]
#endif
#if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
#set alt_lpath $[alt_lpath] $[vrpn_lpath]
#endif
#if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
#set alt_lpath $[alt_lpath] $[audio_lpath]
#endif
@ -474,6 +531,15 @@
#if $[ne $[USE_NET] $[components $[USE_NET],$[active_component_libs]],]
#set alt_libs $[alt_libs] $[net_libs]
#endif
#if $[ne $[USE_JPEG] $[components $[USE_JPEG],$[active_component_libs]],]
#set alt_libs $[alt_libs] $[jpeg_libs]
#endif
#if $[ne $[USE_TIFF] $[components $[USE_TIFF],$[active_component_libs]],]
#set alt_libs $[alt_libs] $[tiff_libs]
#endif
#if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
#set alt_libs $[alt_libs] $[vrpn_libs]
#endif
#if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
#set alt_libs $[alt_libs] $[audio_libs]
#endif