xref: /onnv-gate/usr/src/cmd/sendmail/db/config.h (revision 7478:f2ea9cb5143d)
10Sstevel@tonic-gate /* config.h.  Generated automatically by configure.  */
20Sstevel@tonic-gate /* config.hin.  Generated automatically from configure.in by autoheader.  */
3*7478SVladimir.Kotal@Sun.COM /*
4*7478SVladimir.Kotal@Sun.COM  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5*7478SVladimir.Kotal@Sun.COM  * Use is subject to license terms.
6*7478SVladimir.Kotal@Sun.COM  */
7*7478SVladimir.Kotal@Sun.COM 
8*7478SVladimir.Kotal@Sun.COM #ifndef _CONFIG_H
9*7478SVladimir.Kotal@Sun.COM #define _CONFIG_H
100Sstevel@tonic-gate 
110Sstevel@tonic-gate /* Define to empty if the keyword does not work.  */
120Sstevel@tonic-gate /* #undef const */
130Sstevel@tonic-gate 
140Sstevel@tonic-gate /* Define if your struct stat has st_blksize.  */
150Sstevel@tonic-gate #define HAVE_ST_BLKSIZE 1
160Sstevel@tonic-gate 
170Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
180Sstevel@tonic-gate /* #undef mode_t */
190Sstevel@tonic-gate 
200Sstevel@tonic-gate /* Define to `long' if <sys/types.h> doesn't define.  */
210Sstevel@tonic-gate /* #undef off_t */
220Sstevel@tonic-gate 
230Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
240Sstevel@tonic-gate /* #undef pid_t */
250Sstevel@tonic-gate 
260Sstevel@tonic-gate /* Define to `unsigned' if <sys/types.h> doesn't define.  */
270Sstevel@tonic-gate /* #undef size_t */
280Sstevel@tonic-gate 
290Sstevel@tonic-gate /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
300Sstevel@tonic-gate /* #undef STAT_MACROS_BROKEN */
310Sstevel@tonic-gate 
320Sstevel@tonic-gate /* Define if you have the ANSI C header files.  */
330Sstevel@tonic-gate #define STDC_HEADERS 1
340Sstevel@tonic-gate 
350Sstevel@tonic-gate /* Define if your processor stores words with the most significant
360Sstevel@tonic-gate    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
370Sstevel@tonic-gate #define WORDS_BIGENDIAN 1
380Sstevel@tonic-gate 
390Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
400Sstevel@tonic-gate /* #undef ssize_t */
410Sstevel@tonic-gate 
420Sstevel@tonic-gate /* Define if you want a debugging version. */
430Sstevel@tonic-gate /* #undef DEBUG */
440Sstevel@tonic-gate 
450Sstevel@tonic-gate /* Define if you want a version with run-time diagnostic checking. */
460Sstevel@tonic-gate /* #undef DIAGNOSTIC */
470Sstevel@tonic-gate 
480Sstevel@tonic-gate /* Define if you have sigfillset (and sigprocmask). */
490Sstevel@tonic-gate #define HAVE_SIGFILLSET 1
500Sstevel@tonic-gate 
510Sstevel@tonic-gate /* Define if building big-file environment (e.g., Solaris, HP/UX). */
520Sstevel@tonic-gate #define HAVE_FILE_OFFSET_BITS 1
530Sstevel@tonic-gate 
540Sstevel@tonic-gate /* Define if you have spinlocks. */
550Sstevel@tonic-gate #define HAVE_SPINLOCKS 1
560Sstevel@tonic-gate 
570Sstevel@tonic-gate /* Define if you want to use mc68020/gcc assembly spinlocks. */
580Sstevel@tonic-gate /* #undef HAVE_ASSEM_MC68020_GCC */
590Sstevel@tonic-gate 
600Sstevel@tonic-gate /* Define if you want to use parisc/gcc assembly spinlocks. */
610Sstevel@tonic-gate /* #undef HAVE_ASSEM_PARISC_GCC */
620Sstevel@tonic-gate 
630Sstevel@tonic-gate /* Define if you want to use sco/cc assembly spinlocks. */
640Sstevel@tonic-gate /* #undef HAVE_ASSEM_SCO_CC */
650Sstevel@tonic-gate 
660Sstevel@tonic-gate /* Define if you want to use sparc/gcc assembly spinlocks. */
670Sstevel@tonic-gate /* #undef HAVE_ASSEM_SPARC_GCC */
680Sstevel@tonic-gate 
690Sstevel@tonic-gate /* Define if you want to use uts4/cc assembly spinlocks. */
700Sstevel@tonic-gate /* #undef HAVE_ASSEM_UTS4_CC */
710Sstevel@tonic-gate 
720Sstevel@tonic-gate /* Define if you want to use x86/gcc assembly spinlocks. */
730Sstevel@tonic-gate /* #undef HAVE_ASSEM_X86_GCC */
740Sstevel@tonic-gate 
750Sstevel@tonic-gate /* Define if you have the AIX _check_lock spinlocks. */
760Sstevel@tonic-gate /* #undef HAVE_FUNC_AIX */
770Sstevel@tonic-gate 
780Sstevel@tonic-gate /* Define if you have the OSF1 or HPPA msemaphore spinlocks. */
790Sstevel@tonic-gate /* #undef HAVE_FUNC_MSEM */
800Sstevel@tonic-gate 
810Sstevel@tonic-gate /* Define if you have the SGI abilock_t spinlocks. */
820Sstevel@tonic-gate /* #undef HAVE_FUNC_SGI */
830Sstevel@tonic-gate 
840Sstevel@tonic-gate /* Define if you have the ReliantUNIX spinlock_t spinlocks. */
850Sstevel@tonic-gate /* #undef HAVE_FUNC_RELIANT */
860Sstevel@tonic-gate 
870Sstevel@tonic-gate /* Define if you have the Solaris mutex_t spinlocks. */
880Sstevel@tonic-gate #define HAVE_FUNC_SOLARIS 1
890Sstevel@tonic-gate 
900Sstevel@tonic-gate /* Define if your sprintf returns a pointer, not a length. */
910Sstevel@tonic-gate /* #undef SPRINTF_RET_CHARPNT */
920Sstevel@tonic-gate 
930Sstevel@tonic-gate /* Define if you have the getcwd function.  */
940Sstevel@tonic-gate #define HAVE_GETCWD 1
950Sstevel@tonic-gate 
960Sstevel@tonic-gate /* Define if you have the getopt function.  */
970Sstevel@tonic-gate #define HAVE_GETOPT 1
980Sstevel@tonic-gate 
990Sstevel@tonic-gate /* Define if you have the getuid function.  */
1000Sstevel@tonic-gate #define HAVE_GETUID 1
1010Sstevel@tonic-gate 
1020Sstevel@tonic-gate /* Define if you have the memcmp function.  */
1030Sstevel@tonic-gate #define HAVE_MEMCMP 1
1040Sstevel@tonic-gate 
1050Sstevel@tonic-gate /* Define if you have the memcpy function.  */
1060Sstevel@tonic-gate #define HAVE_MEMCPY 1
1070Sstevel@tonic-gate 
1080Sstevel@tonic-gate /* Define if you have the memmove function.  */
1090Sstevel@tonic-gate #define HAVE_MEMMOVE 1
1100Sstevel@tonic-gate 
1110Sstevel@tonic-gate /* Define if you have the mmap function.  */
1120Sstevel@tonic-gate #define HAVE_MMAP 1
1130Sstevel@tonic-gate 
1140Sstevel@tonic-gate /* Define if you have the munmap function.  */
1150Sstevel@tonic-gate #define HAVE_MUNMAP 1
1160Sstevel@tonic-gate 
1170Sstevel@tonic-gate /* Define if you have the pread function.  */
1180Sstevel@tonic-gate #define HAVE_PREAD 1
1190Sstevel@tonic-gate 
1200Sstevel@tonic-gate /* Define if you have the pstat_getdynamic function.  */
1210Sstevel@tonic-gate /* #undef HAVE_PSTAT_GETDYNAMIC */
1220Sstevel@tonic-gate 
1230Sstevel@tonic-gate /* Define if you have the qsort function.  */
1240Sstevel@tonic-gate #define HAVE_QSORT 1
1250Sstevel@tonic-gate 
1260Sstevel@tonic-gate /* Define if you have the raise function.  */
1270Sstevel@tonic-gate #define HAVE_RAISE 1
1280Sstevel@tonic-gate 
1290Sstevel@tonic-gate /* Define if you have the select function.  */
1300Sstevel@tonic-gate #define HAVE_SELECT 1
1310Sstevel@tonic-gate 
1320Sstevel@tonic-gate /* Define if you have the shmget function.  */
1330Sstevel@tonic-gate #define HAVE_SHMGET 1
1340Sstevel@tonic-gate 
1350Sstevel@tonic-gate /* Define if you have the snprintf function.  */
1360Sstevel@tonic-gate #define HAVE_SNPRINTF 1
1370Sstevel@tonic-gate 
1380Sstevel@tonic-gate /* Define if you have the strerror function.  */
1390Sstevel@tonic-gate #define HAVE_STRERROR 1
1400Sstevel@tonic-gate 
1410Sstevel@tonic-gate /* Define if you have the strsep function.  */
142*7478SVladimir.Kotal@Sun.COM #define	HAVE_STRSEP 1
1430Sstevel@tonic-gate 
1440Sstevel@tonic-gate /* Define if you have the sysconf function.  */
1450Sstevel@tonic-gate #define HAVE_SYSCONF 1
1460Sstevel@tonic-gate 
1470Sstevel@tonic-gate /* Define if you have the vsnprintf function.  */
1480Sstevel@tonic-gate #define HAVE_VSNPRINTF 1
1490Sstevel@tonic-gate 
1500Sstevel@tonic-gate /* Define if you have the <dirent.h> header file.  */
1510Sstevel@tonic-gate #define HAVE_DIRENT_H 1
1520Sstevel@tonic-gate 
1530Sstevel@tonic-gate /* Define if you have the <ndir.h> header file.  */
1540Sstevel@tonic-gate /* #undef HAVE_NDIR_H */
1550Sstevel@tonic-gate 
1560Sstevel@tonic-gate /* Define if you have the <sys/dir.h> header file.  */
1570Sstevel@tonic-gate /* #undef HAVE_SYS_DIR_H */
1580Sstevel@tonic-gate 
1590Sstevel@tonic-gate /* Define if you have the <sys/ndir.h> header file.  */
1600Sstevel@tonic-gate /* #undef HAVE_SYS_NDIR_H */
1610Sstevel@tonic-gate 
1620Sstevel@tonic-gate /* Define if you have the <sys/select.h> header file.  */
1630Sstevel@tonic-gate #define HAVE_SYS_SELECT_H 1
1640Sstevel@tonic-gate 
1650Sstevel@tonic-gate /* Define if you have the <sys/time.h> header file.  */
1660Sstevel@tonic-gate #define HAVE_SYS_TIME_H 1
1670Sstevel@tonic-gate 
1680Sstevel@tonic-gate /*
1690Sstevel@tonic-gate  * Don't step on the namespace.  Also, other libraries have real snprintf(3)
1700Sstevel@tonic-gate  * implementations, don't want to override them just because they're loaded
1710Sstevel@tonic-gate  * after us.
1720Sstevel@tonic-gate  */
1730Sstevel@tonic-gate #ifndef HAVE_SNPRINTF
1740Sstevel@tonic-gate #define	snprintf	__db_snprintf
1750Sstevel@tonic-gate #endif
1760Sstevel@tonic-gate #ifndef HAVE_VSNPRINTF
1770Sstevel@tonic-gate #define	vsnprintf	__db_vsnprintf
1780Sstevel@tonic-gate #endif
1790Sstevel@tonic-gate 
1800Sstevel@tonic-gate /*
1810Sstevel@tonic-gate  * Big-file configuration.
1820Sstevel@tonic-gate  */
1830Sstevel@tonic-gate #ifdef	HAVE_FILE_OFFSET_BITS
1840Sstevel@tonic-gate #define	_LARGE_FILES				/* AIX specific. */
1850Sstevel@tonic-gate #define	_FILE_OFFSET_BITS	64
1860Sstevel@tonic-gate #endif
187*7478SVladimir.Kotal@Sun.COM #endif /* _CONFIG_H */
188