xref: /illumos-gate/usr/src/cmd/sendmail/db/config.h (revision b811a51a)
17c478bd9Sstevel@tonic-gate /* config.h.  Generated automatically by configure.  */
27c478bd9Sstevel@tonic-gate /* config.hin.  Generated automatically from configure.in by autoheader.  */
3*b811a51aSVladimir Kotal /*
4*b811a51aSVladimir Kotal  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5*b811a51aSVladimir Kotal  * Use is subject to license terms.
6*b811a51aSVladimir Kotal  */
7*b811a51aSVladimir Kotal 
8*b811a51aSVladimir Kotal #ifndef _CONFIG_H
9*b811a51aSVladimir Kotal #define _CONFIG_H
107c478bd9Sstevel@tonic-gate 
117c478bd9Sstevel@tonic-gate /* Define to empty if the keyword does not work.  */
127c478bd9Sstevel@tonic-gate /* #undef const */
137c478bd9Sstevel@tonic-gate 
147c478bd9Sstevel@tonic-gate /* Define if your struct stat has st_blksize.  */
157c478bd9Sstevel@tonic-gate #define HAVE_ST_BLKSIZE 1
167c478bd9Sstevel@tonic-gate 
177c478bd9Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
187c478bd9Sstevel@tonic-gate /* #undef mode_t */
197c478bd9Sstevel@tonic-gate 
207c478bd9Sstevel@tonic-gate /* Define to `long' if <sys/types.h> doesn't define.  */
217c478bd9Sstevel@tonic-gate /* #undef off_t */
227c478bd9Sstevel@tonic-gate 
237c478bd9Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
247c478bd9Sstevel@tonic-gate /* #undef pid_t */
257c478bd9Sstevel@tonic-gate 
267c478bd9Sstevel@tonic-gate /* Define to `unsigned' if <sys/types.h> doesn't define.  */
277c478bd9Sstevel@tonic-gate /* #undef size_t */
287c478bd9Sstevel@tonic-gate 
297c478bd9Sstevel@tonic-gate /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
307c478bd9Sstevel@tonic-gate /* #undef STAT_MACROS_BROKEN */
317c478bd9Sstevel@tonic-gate 
327c478bd9Sstevel@tonic-gate /* Define if you have the ANSI C header files.  */
337c478bd9Sstevel@tonic-gate #define STDC_HEADERS 1
347c478bd9Sstevel@tonic-gate 
357c478bd9Sstevel@tonic-gate /* Define if your processor stores words with the most significant
367c478bd9Sstevel@tonic-gate    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
377c478bd9Sstevel@tonic-gate #define WORDS_BIGENDIAN 1
387c478bd9Sstevel@tonic-gate 
397c478bd9Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
407c478bd9Sstevel@tonic-gate /* #undef ssize_t */
417c478bd9Sstevel@tonic-gate 
427c478bd9Sstevel@tonic-gate /* Define if you want a debugging version. */
437c478bd9Sstevel@tonic-gate /* #undef DEBUG */
447c478bd9Sstevel@tonic-gate 
457c478bd9Sstevel@tonic-gate /* Define if you want a version with run-time diagnostic checking. */
467c478bd9Sstevel@tonic-gate /* #undef DIAGNOSTIC */
477c478bd9Sstevel@tonic-gate 
487c478bd9Sstevel@tonic-gate /* Define if you have sigfillset (and sigprocmask). */
497c478bd9Sstevel@tonic-gate #define HAVE_SIGFILLSET 1
507c478bd9Sstevel@tonic-gate 
517c478bd9Sstevel@tonic-gate /* Define if building big-file environment (e.g., Solaris, HP/UX). */
527c478bd9Sstevel@tonic-gate #define HAVE_FILE_OFFSET_BITS 1
537c478bd9Sstevel@tonic-gate 
547c478bd9Sstevel@tonic-gate /* Define if you have spinlocks. */
557c478bd9Sstevel@tonic-gate #define HAVE_SPINLOCKS 1
567c478bd9Sstevel@tonic-gate 
577c478bd9Sstevel@tonic-gate /* Define if you want to use mc68020/gcc assembly spinlocks. */
587c478bd9Sstevel@tonic-gate /* #undef HAVE_ASSEM_MC68020_GCC */
597c478bd9Sstevel@tonic-gate 
607c478bd9Sstevel@tonic-gate /* Define if you want to use parisc/gcc assembly spinlocks. */
617c478bd9Sstevel@tonic-gate /* #undef HAVE_ASSEM_PARISC_GCC */
627c478bd9Sstevel@tonic-gate 
637c478bd9Sstevel@tonic-gate /* Define if you want to use sco/cc assembly spinlocks. */
647c478bd9Sstevel@tonic-gate /* #undef HAVE_ASSEM_SCO_CC */
657c478bd9Sstevel@tonic-gate 
667c478bd9Sstevel@tonic-gate /* Define if you want to use sparc/gcc assembly spinlocks. */
677c478bd9Sstevel@tonic-gate /* #undef HAVE_ASSEM_SPARC_GCC */
687c478bd9Sstevel@tonic-gate 
697c478bd9Sstevel@tonic-gate /* Define if you want to use uts4/cc assembly spinlocks. */
707c478bd9Sstevel@tonic-gate /* #undef HAVE_ASSEM_UTS4_CC */
717c478bd9Sstevel@tonic-gate 
727c478bd9Sstevel@tonic-gate /* Define if you want to use x86/gcc assembly spinlocks. */
737c478bd9Sstevel@tonic-gate /* #undef HAVE_ASSEM_X86_GCC */
747c478bd9Sstevel@tonic-gate 
757c478bd9Sstevel@tonic-gate /* Define if you have the AIX _check_lock spinlocks. */
767c478bd9Sstevel@tonic-gate /* #undef HAVE_FUNC_AIX */
777c478bd9Sstevel@tonic-gate 
787c478bd9Sstevel@tonic-gate /* Define if you have the OSF1 or HPPA msemaphore spinlocks. */
797c478bd9Sstevel@tonic-gate /* #undef HAVE_FUNC_MSEM */
807c478bd9Sstevel@tonic-gate 
817c478bd9Sstevel@tonic-gate /* Define if you have the SGI abilock_t spinlocks. */
827c478bd9Sstevel@tonic-gate /* #undef HAVE_FUNC_SGI */
837c478bd9Sstevel@tonic-gate 
847c478bd9Sstevel@tonic-gate /* Define if you have the ReliantUNIX spinlock_t spinlocks. */
857c478bd9Sstevel@tonic-gate /* #undef HAVE_FUNC_RELIANT */
867c478bd9Sstevel@tonic-gate 
877c478bd9Sstevel@tonic-gate /* Define if you have the Solaris mutex_t spinlocks. */
887c478bd9Sstevel@tonic-gate #define HAVE_FUNC_SOLARIS 1
897c478bd9Sstevel@tonic-gate 
907c478bd9Sstevel@tonic-gate /* Define if your sprintf returns a pointer, not a length. */
917c478bd9Sstevel@tonic-gate /* #undef SPRINTF_RET_CHARPNT */
927c478bd9Sstevel@tonic-gate 
937c478bd9Sstevel@tonic-gate /* Define if you have the getcwd function.  */
947c478bd9Sstevel@tonic-gate #define HAVE_GETCWD 1
957c478bd9Sstevel@tonic-gate 
967c478bd9Sstevel@tonic-gate /* Define if you have the getopt function.  */
977c478bd9Sstevel@tonic-gate #define HAVE_GETOPT 1
987c478bd9Sstevel@tonic-gate 
997c478bd9Sstevel@tonic-gate /* Define if you have the getuid function.  */
1007c478bd9Sstevel@tonic-gate #define HAVE_GETUID 1
1017c478bd9Sstevel@tonic-gate 
1027c478bd9Sstevel@tonic-gate /* Define if you have the memcmp function.  */
1037c478bd9Sstevel@tonic-gate #define HAVE_MEMCMP 1
1047c478bd9Sstevel@tonic-gate 
1057c478bd9Sstevel@tonic-gate /* Define if you have the memcpy function.  */
1067c478bd9Sstevel@tonic-gate #define HAVE_MEMCPY 1
1077c478bd9Sstevel@tonic-gate 
1087c478bd9Sstevel@tonic-gate /* Define if you have the memmove function.  */
1097c478bd9Sstevel@tonic-gate #define HAVE_MEMMOVE 1
1107c478bd9Sstevel@tonic-gate 
1117c478bd9Sstevel@tonic-gate /* Define if you have the mmap function.  */
1127c478bd9Sstevel@tonic-gate #define HAVE_MMAP 1
1137c478bd9Sstevel@tonic-gate 
1147c478bd9Sstevel@tonic-gate /* Define if you have the munmap function.  */
1157c478bd9Sstevel@tonic-gate #define HAVE_MUNMAP 1
1167c478bd9Sstevel@tonic-gate 
1177c478bd9Sstevel@tonic-gate /* Define if you have the pread function.  */
1187c478bd9Sstevel@tonic-gate #define HAVE_PREAD 1
1197c478bd9Sstevel@tonic-gate 
1207c478bd9Sstevel@tonic-gate /* Define if you have the pstat_getdynamic function.  */
1217c478bd9Sstevel@tonic-gate /* #undef HAVE_PSTAT_GETDYNAMIC */
1227c478bd9Sstevel@tonic-gate 
1237c478bd9Sstevel@tonic-gate /* Define if you have the qsort function.  */
1247c478bd9Sstevel@tonic-gate #define HAVE_QSORT 1
1257c478bd9Sstevel@tonic-gate 
1267c478bd9Sstevel@tonic-gate /* Define if you have the raise function.  */
1277c478bd9Sstevel@tonic-gate #define HAVE_RAISE 1
1287c478bd9Sstevel@tonic-gate 
1297c478bd9Sstevel@tonic-gate /* Define if you have the select function.  */
1307c478bd9Sstevel@tonic-gate #define HAVE_SELECT 1
1317c478bd9Sstevel@tonic-gate 
1327c478bd9Sstevel@tonic-gate /* Define if you have the shmget function.  */
1337c478bd9Sstevel@tonic-gate #define HAVE_SHMGET 1
1347c478bd9Sstevel@tonic-gate 
1357c478bd9Sstevel@tonic-gate /* Define if you have the snprintf function.  */
1367c478bd9Sstevel@tonic-gate #define HAVE_SNPRINTF 1
1377c478bd9Sstevel@tonic-gate 
1387c478bd9Sstevel@tonic-gate /* Define if you have the strerror function.  */
1397c478bd9Sstevel@tonic-gate #define HAVE_STRERROR 1
1407c478bd9Sstevel@tonic-gate 
1417c478bd9Sstevel@tonic-gate /* Define if you have the strsep function.  */
142*b811a51aSVladimir Kotal #define	HAVE_STRSEP 1
1437c478bd9Sstevel@tonic-gate 
1447c478bd9Sstevel@tonic-gate /* Define if you have the sysconf function.  */
1457c478bd9Sstevel@tonic-gate #define HAVE_SYSCONF 1
1467c478bd9Sstevel@tonic-gate 
1477c478bd9Sstevel@tonic-gate /* Define if you have the vsnprintf function.  */
1487c478bd9Sstevel@tonic-gate #define HAVE_VSNPRINTF 1
1497c478bd9Sstevel@tonic-gate 
1507c478bd9Sstevel@tonic-gate /* Define if you have the <dirent.h> header file.  */
1517c478bd9Sstevel@tonic-gate #define HAVE_DIRENT_H 1
1527c478bd9Sstevel@tonic-gate 
1537c478bd9Sstevel@tonic-gate /* Define if you have the <ndir.h> header file.  */
1547c478bd9Sstevel@tonic-gate /* #undef HAVE_NDIR_H */
1557c478bd9Sstevel@tonic-gate 
1567c478bd9Sstevel@tonic-gate /* Define if you have the <sys/dir.h> header file.  */
1577c478bd9Sstevel@tonic-gate /* #undef HAVE_SYS_DIR_H */
1587c478bd9Sstevel@tonic-gate 
1597c478bd9Sstevel@tonic-gate /* Define if you have the <sys/ndir.h> header file.  */
1607c478bd9Sstevel@tonic-gate /* #undef HAVE_SYS_NDIR_H */
1617c478bd9Sstevel@tonic-gate 
1627c478bd9Sstevel@tonic-gate /* Define if you have the <sys/select.h> header file.  */
1637c478bd9Sstevel@tonic-gate #define HAVE_SYS_SELECT_H 1
1647c478bd9Sstevel@tonic-gate 
1657c478bd9Sstevel@tonic-gate /* Define if you have the <sys/time.h> header file.  */
1667c478bd9Sstevel@tonic-gate #define HAVE_SYS_TIME_H 1
1677c478bd9Sstevel@tonic-gate 
1687c478bd9Sstevel@tonic-gate /*
1697c478bd9Sstevel@tonic-gate  * Don't step on the namespace.  Also, other libraries have real snprintf(3)
1707c478bd9Sstevel@tonic-gate  * implementations, don't want to override them just because they're loaded
1717c478bd9Sstevel@tonic-gate  * after us.
1727c478bd9Sstevel@tonic-gate  */
1737c478bd9Sstevel@tonic-gate #ifndef HAVE_SNPRINTF
1747c478bd9Sstevel@tonic-gate #define	snprintf	__db_snprintf
1757c478bd9Sstevel@tonic-gate #endif
1767c478bd9Sstevel@tonic-gate #ifndef HAVE_VSNPRINTF
1777c478bd9Sstevel@tonic-gate #define	vsnprintf	__db_vsnprintf
1787c478bd9Sstevel@tonic-gate #endif
1797c478bd9Sstevel@tonic-gate 
1807c478bd9Sstevel@tonic-gate /*
1817c478bd9Sstevel@tonic-gate  * Big-file configuration.
1827c478bd9Sstevel@tonic-gate  */
1837c478bd9Sstevel@tonic-gate #ifdef	HAVE_FILE_OFFSET_BITS
1847c478bd9Sstevel@tonic-gate #define	_LARGE_FILES				/* AIX specific. */
1857c478bd9Sstevel@tonic-gate #define	_FILE_OFFSET_BITS	64
1867c478bd9Sstevel@tonic-gate #endif
187*b811a51aSVladimir Kotal #endif /* _CONFIG_H */
188