📄 configure
字号:
# include <string.h>#endif#ifdef HAVE_SYS_STAT_H# include <sys/stat.h>#endif#ifdef HAVE_SYS_UIO_H# include <sys/uio.h>#endif#ifdef HAVE_UNISTD_H# include <unistd.h>#endif#ifdef HAVE_SYS_WAIT_H# include <sys/wait.h>#endif#ifdef HAVE_SYS_UN_H# include <sys/un.h>#endif#ifdef HAVE_SYS_SELECT_H# include <sys/select.h>#endif#ifdef HAVE_STRINGS_H# include <strings.h>#endif#ifdef HAVE_SYS_IOCTL_H# include <sys/ioctl.h>#endif#ifdef HAVE_SYS_FILIO_H# include <sys/filio.h>#endif#ifdef HAVE_SYS_SOCKIO_H# include <sys/sockio.h>#endif#ifdef HAVE_PTHREAD_H# include <pthread.h>#endifint main() { ssize_t foo ; return 0; }EOFif { (eval echo configure:2065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_ssize_t=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_type_ssize_t=nofirm -f conftest*fi echo "$ac_t""$ac_cv_type_ssize_t" 1>&6 if test $ac_cv_type_ssize_t = no ; then cat >> confdefs.h <<\EOF#define ssize_t intEOF fiecho $ac_n "checking if socklen_t defined""... $ac_c" 1>&6echo "configure:2086: checking if socklen_t defined" >&5 if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2091 "configure"#include "confdefs.h"#include "confdefs.h" /* the header built by configure so far */#ifdef HAVE_SYS_TYPES_H# include <sys/types.h>#endif#ifdef HAVE_SYS_SOCKET_H# include <sys/socket.h>#endif#ifdef HAVE_SYS_TIME_H# include <sys/time.h>#endif#ifdef HAVE_NETINET_IN_H# include <netinet/in.h>#endif#ifdef HAVE_ARPA_INET_H# include <arpa/inet.h>#endif#ifdef HAVE_ERRNO_H# include <errno.h>#endif#ifdef HAVE_FCNTL_H# include <fcntl.h>#endif#ifdef HAVE_NETDB_H# include <netdb.h>#endif#ifdef HAVE_SIGNAL_H# include <signal.h>#endif#ifdef HAVE_STDIO_H# include <stdio.h>#endif#ifdef HAVE_STDLIB_H# include <stdlib.h>#endif#ifdef HAVE_STRING_H# include <string.h>#endif#ifdef HAVE_SYS_STAT_H# include <sys/stat.h>#endif#ifdef HAVE_SYS_UIO_H# include <sys/uio.h>#endif#ifdef HAVE_UNISTD_H# include <unistd.h>#endif#ifdef HAVE_SYS_WAIT_H# include <sys/wait.h>#endif#ifdef HAVE_SYS_UN_H# include <sys/un.h>#endif#ifdef HAVE_SYS_SELECT_H# include <sys/select.h>#endif#ifdef HAVE_STRINGS_H# include <strings.h>#endif#ifdef HAVE_SYS_IOCTL_H# include <sys/ioctl.h>#endif#ifdef HAVE_SYS_FILIO_H# include <sys/filio.h>#endif#ifdef HAVE_SYS_SOCKIO_H# include <sys/sockio.h>#endif#ifdef HAVE_PTHREAD_H# include <pthread.h>#endifint main() { socklen_t foo ; return 0; }EOFif { (eval echo configure:2168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_socklen_t=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_type_socklen_t=nofirm -f conftest*fi echo "$ac_t""$ac_cv_type_socklen_t" 1>&6 if test $ac_cv_type_socklen_t = no ; then cat >> confdefs.h <<\EOF#define socklen_t unsigned intEOF fiecho $ac_n "checking if sa_family_t defined""... $ac_c" 1>&6echo "configure:2189: checking if sa_family_t defined" >&5 if eval "test \"`echo '$''{'ac_cv_type_sa_family_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2194 "configure"#include "confdefs.h"#include "confdefs.h" /* the header built by configure so far */#ifdef HAVE_SYS_TYPES_H# include <sys/types.h>#endif#ifdef HAVE_SYS_SOCKET_H# include <sys/socket.h>#endif#ifdef HAVE_SYS_TIME_H# include <sys/time.h>#endif#ifdef HAVE_NETINET_IN_H# include <netinet/in.h>#endif#ifdef HAVE_ARPA_INET_H# include <arpa/inet.h>#endif#ifdef HAVE_ERRNO_H# include <errno.h>#endif#ifdef HAVE_FCNTL_H# include <fcntl.h>#endif#ifdef HAVE_NETDB_H# include <netdb.h>#endif#ifdef HAVE_SIGNAL_H# include <signal.h>#endif#ifdef HAVE_STDIO_H# include <stdio.h>#endif#ifdef HAVE_STDLIB_H# include <stdlib.h>#endif#ifdef HAVE_STRING_H# include <string.h>#endif#ifdef HAVE_SYS_STAT_H# include <sys/stat.h>#endif#ifdef HAVE_SYS_UIO_H# include <sys/uio.h>#endif#ifdef HAVE_UNISTD_H# include <unistd.h>#endif#ifdef HAVE_SYS_WAIT_H# include <sys/wait.h>#endif#ifdef HAVE_SYS_UN_H# include <sys/un.h>#endif#ifdef HAVE_SYS_SELECT_H# include <sys/select.h>#endif#ifdef HAVE_STRINGS_H# include <strings.h>#endif#ifdef HAVE_SYS_IOCTL_H# include <sys/ioctl.h>#endif#ifdef HAVE_SYS_FILIO_H# include <sys/filio.h>#endif#ifdef HAVE_SYS_SOCKIO_H# include <sys/sockio.h>#endif#ifdef HAVE_PTHREAD_H# include <pthread.h>#endifint main() { sa_family_t foo ; return 0; }EOFif { (eval echo configure:2271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_sa_family_t=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_type_sa_family_t=nofirm -f conftest*fi echo "$ac_t""$ac_cv_type_sa_family_t" 1>&6 if test $ac_cv_type_sa_family_t = no ; then cat >> confdefs.h <<\EOF#define sa_family_t SA_FAMILY_TEOF fiecho $ac_n "checking if t_scalar_t defined""... $ac_c" 1>&6echo "configure:2293: checking if t_scalar_t defined" >&5 if eval "test \"`echo '$''{'ac_cv_type_t_scalar_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2298 "configure"#include "confdefs.h"#include "confdefs.h" /* the header built by configure so far */#ifdef HAVE_SYS_TYPES_H# include <sys/types.h>#endif#ifdef HAVE_SYS_SOCKET_H# include <sys/socket.h>#endif#ifdef HAVE_SYS_TIME_H# include <sys/time.h>#endif#ifdef HAVE_NETINET_IN_H# include <netinet/in.h>#endif#ifdef HAVE_ARPA_INET_H# include <arpa/inet.h>#endif#ifdef HAVE_ERRNO_H# include <errno.h>#endif#ifdef HAVE_FCNTL_H# include <fcntl.h>#endif#ifdef HAVE_NETDB_H# include <netdb.h>#endif#ifdef HAVE_SIGNAL_H# include <signal.h>#endif#ifdef HAVE_STDIO_H# include <stdio.h>#endif#ifdef HAVE_STDLIB_H# include <stdlib.h>#endif#ifdef HAVE_STRING_H# include <string.h>#endif#ifdef HAVE_SYS_STAT_H# include <sys/stat.h>#endif#ifdef HAVE_SYS_UIO_H# include <sys/uio.h>#endif#ifdef HAVE_UNISTD_H# include <unistd.h>#endif#ifdef HAVE_SYS_WAIT_H# include <sys/wait.h>#endif#ifdef HAVE_SYS_UN_H# include <sys/un.h>#endif#ifdef HAVE_SYS_SELECT_H# include <sys/select.h>#endif#ifdef HAVE_STRINGS_H# include <strings.h>#endif#ifdef HAVE_SYS_IOCTL_H# include <sys/ioctl.h>#endif#ifdef HAVE_SYS_FILIO_H# include <sys/filio.h>#endif#ifdef HAVE_SYS_SOCKIO_H# include <sys/sockio.h>#endif#ifdef HAVE_PTHREAD_H# include <pthread.h>#endif#ifdef HAVE_POLL_H# include <poll.h>#endif#ifdef HAVE_XTI_H# include <xti.h>#endif#ifdef HAVE_NETCONFIG_H# include <netconfig.h>#endif#ifdef HAVE_NETDIR_H# include <netdir.h>#endif#ifdef HAVE_STROPTS_H# include <stropts.h>#endifint main() { t_scalar_t foo ; return 0; }EOFif { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_t_scalar_t=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_type_t_scalar_t=nofirm -f conftest*fi echo "$ac_t""$ac_cv_type_t_scalar_t" 1>&6 if test $ac_cv_type_t_scalar_t = no ; then cat >> confdefs.h <<\EOF#define t_scalar_t int32_tEOF fiecho $ac_n "checking if t_uscalar_t defined""... $ac_c" 1>&6echo "configure:2411: checking if t_uscalar_t defined" >&5 if eval "test \"`echo '$''{'ac_cv_type_t_uscalar_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2416 "configure"#include "confdefs.h"#include "confdefs.h" /* the header built by configure so far */#ifdef HAVE_SYS_TYPES_H# include <sys/types.h>#endif#ifdef HAVE_SYS_SOCKET_H# include <sys/socket.h>#endif#ifdef HAVE_SYS_TIME_H# include <sys/time.h>#endif#ifdef HAVE_NETINET_IN_H# include <netinet/in.h>#endif#ifdef HAVE_ARPA_INET_H# include <arpa/inet.h>#endif#ifdef HAVE_ERRNO_H# include <errno.h>#endif#ifdef HAVE_FCNTL_H# include <fcntl.h>#endif#ifdef HAVE_NETDB_H# include <netdb.h>#endif#ifdef HAVE_SIGNAL_H# include <signal.h>#endif#ifdef HAVE_STDIO_H# include <stdio.h>#endif#ifdef HAVE_STDLIB_H# include <stdlib.h>#endif#ifdef HAVE_STRING_H# include <string.h>#endif#ifdef HAVE_SYS_STAT_H# include <sys/stat.h>#endif#ifdef HAVE_SYS_UIO_H# include <sys/uio.h>#endif#ifdef HAVE_UNISTD_H# include <unistd.h>#endif#ifdef HAVE_SYS_WAIT_H# include <sys/wait.h>#endif#ifdef HAVE_SYS_UN_H# include <sys/un.h>#endif#ifdef HAVE_SYS_SELECT_H# include <sys/select.h>#endif#ifdef HAVE_STRINGS_H# include <strings.h>#endif#ifdef HAVE_SYS_IOCTL_H# include <sys/ioctl.h>#endif#ifdef HAVE_SYS_FILIO_H# include <sys/filio.h>#endif#ifdef HAVE_SYS_SOCKIO_H# include <sys/sockio.h>#endif#ifdef HAVE_PTHREAD_H# include <pthread.h>#endif#ifdef HAVE_POLL_H# include <poll.h>#endif#ifdef HAVE_XTI_H# include <xti.h>#endif#ifdef HAVE_NETCONFIG_H# include <netconfig.h>#endif#ifdef HAVE_NETDIR_H# include <netdir.h>#endif#ifdef HAVE_STROPTS_H# include <stropts.h>#endifint main() { t_uscalar_t foo ; return 0; }EOFif { (eval echo configure:2508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_t_uscalar_t=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_type_t_uscalar_t=nofirm -f conftest*fi echo "$ac_t""$ac_cv_type_t_uscalar_t" 1>&6 if test $ac_cv_type_t_uscalar_t = no ; then cat >> confdefs.h <<\EOF#define t_uscalar_t uint32_tEOF fiecho $ac_n "checking
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -