Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* confdefs.h */
- #define PACKAGE_NAME "Net-SNMP"
- #define PACKAGE_TARNAME "net-snmp"
- #define PACKAGE_VERSION "5.7.3"
- #define PACKAGE_STRING "Net-SNMP 5.7.3"
- #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net"
- #define PACKAGE_URL ""
- #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
- #define NETSNMP_USE_INTERNAL_MD5 1
- #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
- #define NETSNMP_PERSISTENT_MASK 077
- #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
- #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
- #define NETSNMP_DEFAULT_SNMP_VERSION 3
- #define NETSNMP_SYS_CONTACT "nobody@nowhere.invalid"
- #define NETSNMP_SYS_LOC "somewhere"
- #define NETSNMP_LOGFILE "/var/log/snmpd.log"
- #define NETSNMP_PERSISTENT_DIRECTORY "/var/net-snmp"
- #define UNAMEPROG "/usr/bin/uname"
- #define STDC_HEADERS 1
- #define HAVE_SYS_TYPES_H 1
- #define HAVE_SYS_STAT_H 1
- #define HAVE_STDLIB_H 1
- #define HAVE_STRING_H 1
- #define HAVE_MEMORY_H 1
- #define HAVE_STRINGS_H 1
- #define HAVE_INTTYPES_H 1
- #define HAVE_STDINT_H 1
- #define HAVE_UNISTD_H 1
- #define __EXTENSIONS__ 1
- #define _ALL_SOURCE 1
- #define _GNU_SOURCE 1
- #define _POSIX_PTHREAD_SEMANTICS 1
- #define _TANDEM_SOURCE 1
- #define HAVE_DLFCN_H 1
- #define LT_OBJDIR ".libs/"
- #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/freebsd10.h"
- #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h"
- #define SNMPLIBPATH "/usr/local/lib/snmp"
- #define SNMPDLMODPATH "/usr/local/lib/snmp/dlmod"
- #define SNMPSHAREPATH "/usr/local/share/snmp"
- #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/local/share/snmp/mibs"
- #define SNMPCONFPATH "/usr/local/etc/snmp"
- #define STDC_HEADERS 1
- #define HAVE_DIRENT_H 1
- #define HAVE_SYS_WAIT_H 1
- #define HAVE_GETOPT_H 1
- #define HAVE_PTHREAD_H 1
- #define HAVE_REGEX_H 1
- #define HAVE_STRING_H 1
- #define HAVE_SYSLOG_H 1
- #define HAVE_UNISTD_H 1
- #define HAVE_STDINT_H 1
- #define HAVE_INTTYPES_H 1
- #define HAVE_SYS_PARAM_H 1
- #define HAVE_SYS_SELECT_H 1
- #define HAVE_SYS_SOCKET_H 1
- #define HAVE_SYS_TIME_H 1
- #define HAVE_SYS_TIMEB_H 1
- #define HAVE_SYS_UN_H 1
- #define HAVE_NLIST_H 1
- #define HAVE_FCNTL_H 1
- #define HAVE_LIMITS_H 1
- #define HAVE_LOCALE_H 1
- #define HAVE_SYS_FILE_H 1
- #define HAVE_SYS_IOCTL_H 1
- #define HAVE_SYS_SOCKIO_H 1
- #define HAVE_SYS_STAT_H 1
- #define HAVE_SYS_TIMES_H 1
- #define HAVE_SYS_UIO_H 1
- #define HAVE_SYS_UTSNAME_H 1
- #define HAVE_NETIPX_IPX_H 1
- #define HAVE_DLFCN_H 1
- #define HAVE_ERR_H 1
- #define HAVE_FCNTL_H 1
- #define HAVE_FSTAB_H 1
- #define HAVE_GRP_H 1
- #define HAVE_KVM_H 1
- #define HAVE_LIMITS_H 1
- #define HAVE_PWD_H 1
- #define HAVE_COM_ERR_H 1
- #define HAVE_UTMPX_H 1
- #define HAVE_SYS_FILE_H 1
- #define HAVE_SYS_FILIO_H 1
- #define HAVE_SYS_IOCTL_H 1
- #define HAVE_SYS_PROTOSW_H 1
- #define HAVE_SYS_SOCKIO_H 1
- #define HAVE_SYS_STAT_H 1
- #define HAVE_SYS_STATVFS_H 1
- #define HAVE_SYS_UTSNAME_H 1
- #define HAVE_SYS_VMMETER_H 1
- #define HAVE_MACHINE_PARAM_H 1
- #define HAVE_NETINET_TCP_FSM_H 1
- #define HAVE_VM_VM_H 1
- #define HAVE_VM_VM_EXTERN_H 1
- #define HAVE_VM_VM_PARAM_H 1
- #define HAVE_FCNTL_H 1
- #define HAVE_GRP_H 1
- #define HAVE_PWD_H 1
- #define HAVE_SYS_CDEFS_H 1
- #define HAVE_SYS_IOCTL_H 1
- #define HAVE_SYS_SOCKET_H 1
- #define HAVE_SYS_SOCKIO_H 1
- #define HAVE_SYS_TIME_H 1
- #define HAVE_SEARCH_H 1
- #define HAVE_SYS_POLL_H 1
- #define HAVE_OPENSSL_AES_H 1
- #define HAVE_OPENSSL_DH_H 1
- #define HAVE_OPENSSL_DES_H 1
- #define HAVE_OPENSSL_HMAC_H 1
- #define HAVE_OPENSSL_EVP_H 1
- #define HAVE_RPM_RPMTS_H 1
- #define HAVE_RPM_RPMFILEUTIL_H 1
- #define HAVE_STDLIB_H 1
- #define HAVE_NET_IF_DL_H 1
- #define HAVE_SYS_SYSCTL_H 1
- #define HAVE_OSRELDATE_H 1
- #define HAVE_NET_IF_DL_H 1
- #define HAVE_NET_IF_TYPES_H 1
- #define HAVE_SYS_DKSTAT_H 1
- #define HAVE_SYS_CONF_H 1
- #define HAVE_SYS_MBUF_H 1
- #define HAVE_SYS_MOUNT_H 1
- #define HAVE_SYS_PROC_H 1
- #define HAVE_SYS_QUEUE_H 1
- #define HAVE_SYS_SYSCTL_H 1
- #define HAVE_SYS_USER_H 1
- #define HAVE_SYS_SEMA_H 1
- #define HAVE_SYS_SOCKETVAR_H 1
- #define HAVE_SYS_VNODE_H 1
- #define HAVE_SYS_DISKLABEL_H 1
- #define HAVE_UFS_UFS_DINODE_H 1
- #define HAVE_UFS_UFS_QUOTA_H 1
- #define HAVE_UFS_UFS_INODE_H 1
- #define HAVE_UFS_FFS_FS_H 1
- #define HAVE_ARPA_INET_H 1
- #define HAVE_NET_IF_H 1
- #define HAVE_NETINET_IN_H 1
- #define HAVE_NETDB_H 1
- #define HAVE_NET_IF_ARP_H 1
- #define HAVE_NET_IF_MIB_H 1
- #define HAVE_NET_IF_VAR_H 1
- #define HAVE_NETINET_IF_ETHER_H 1
- #define HAVE_NETINET_IN_SYSTM_H 1
- #define HAVE_NETINET_IN_VAR_H 1
- #define HAVE_NETINET_IP_H 1
- #define HAVE_NETINET_IP_ICMP_H 1
- #define HAVE_NETINET_ICMP_VAR_H 1
- #define HAVE_NETINET_IP_VAR_H 1
- #define HAVE_NETINET_TCP_H 1
- #define HAVE_NETINET_TCP_TIMER_H 1
- #define HAVE_NETINET_TCP_VAR_H 1
- #define HAVE_NETINET_TCPIP_H 1
- #define HAVE_NETINET_UDP_H 1
- #define HAVE_NETINET_UDP_VAR_H 1
- #define HAVE_NET_ROUTE_H 1
- #define HAVE_NETINET_ICMP6_H 1
- #define HAVE_NETINET_IP6_H 1
- #define HAVE_NETINET6_IN6_VAR_H 1
- #define HAVE_NETINET6_IN6_PCB_H 1
- #define HAVE_NETINET6_IP6_VAR_H 1
- #define HAVE_NETINET6_TCP6_VAR_H 1
- #define HAVE_NETINET_IN_PCB_H 1
- #define HAVE_PKG_H 1
- #define HAVE_LIBPKG 1
- /* end confdefs.h. */
- #include <stdio.h>
- #ifdef HAVE_SYS_TYPES_H
- # include <sys/types.h>
- #endif
- #ifdef HAVE_SYS_STAT_H
- # include <sys/stat.h>
- #endif
- #ifdef STDC_HEADERS
- # include <stdlib.h>
- # include <stddef.h>
- #else
- # ifdef HAVE_STDLIB_H
- # include <stdlib.h>
- # endif
- #endif
- #ifdef HAVE_STRING_H
- # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
- # include <memory.h>
- # endif
- # include <string.h>
- #endif
- #ifdef HAVE_STRINGS_H
- # include <strings.h>
- #endif
- #ifdef HAVE_INTTYPES_H
- # include <inttypes.h>
- #endif
- #ifdef HAVE_STDINT_H
- # include <stdint.h>
- #endif
- #ifdef HAVE_UNISTD_H
- # include <unistd.h>
- #endif
- static long int longval () { return (long int) (sizeof (short)); }
- static unsigned long int ulongval () { return (long int) (sizeof (short)); }
- #include <stdio.h>
- #include <stdlib.h>
- int
- main ()
- {
- FILE *f = fopen ("conftest.val", "w");
- if (! f)
- return 1;
- if (((long int) (sizeof (short))) < 0)
- {
- long int i = longval ();
- if (i != ((long int) (sizeof (short))))
- return 1;
- fprintf (f, "%ld", i);
- }
- else
- {
- unsigned long int i = ulongval ();
- if (i != ((long int) (sizeof (short))))
- return 1;
- fprintf (f, "%lu", i);
- }
- /* Do not output a trailing newline, as this causes \r\n confusion
- on some platforms. */
- return ferror (f) |fclose (f) != 0;
- ;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement