Newer
Older
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
| #define HAVE_STDDEF_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_SENDFILE_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_NETINET_TCP_H 1
| #define SETPGRP_VOID 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_VOIDP 8
| #define SIZEOF_CHAR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_PID_T 4
| #define SIZEOF_SSIZE_T 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define SIZEOF_INO_T 8
| #define SIZEOF_STRUCT_IOVEC 16
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRSTR 1
| #define HAVE_MEMCHR 1
| #define APR_INT64_STRFN strtol
| #define APR_OFF_T_STRFN strtol
| #define DSO_USE_DLFCN 1
| #define HAVE_WAITPID 1
| #define HAVE_VLA 1
| #define HAVE_SEMGET 1
| #define HAVE_SEMCTL 1
| #define HAVE_FLOCK 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SEM_CLOSE 1
| #define HAVE_SEM_UNLINK 1
| #define HAVE_SEM_POST 1
| #define HAVE_SEM_WAIT 1
| #define HAVE_LOCK_EX 1
| #define HAVE_F_SETLK 1
| #define HAVE_SEM_UNDO 1
| #define HAVE_POLLIN 1
| #define HAVE_PTHREAD_PROCESS_SHARED 1
| #define HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1
| #define HAVE_PTHREAD_MUTEX_ROBUST 1
| #define apr_lock implementation method 1
| #define USE_SYSVSEM_SERIALIZE 1
| #define DEV_RANDOM "/dev/urandom"
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define DIRENT_INODE d_fileno
| #define DIRENT_TYPE d_type
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define WAITIO_USES_POLL 1
| #define GETHOSTBYNAME_R_GLIBC2 1
| /* end confdefs.h. */
| #include "confdefs.h"
|
|
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_ARPA_INET_H
| #include <arpa/inet.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #endif
| #ifdef HAVE_STDLIB_H
| #include <stdlib.h>
| #endif
|
| int main(int argc, const char *const *argv) {
|
| int tmp = gethostbyname_r((const char *) 0, (struct hostent *) 0,
| (struct hostent_data *) 0);
| /* use tmp to suppress the warning */
| tmp=0;
|
| return 0; }
|
configure:27686: result: char
configure:27701: checking style of getservbyname_r routine
configure:27744: gcc -c -DHAVE_MCTLS=1 -pthread -Werror -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5
configure:27744: $? = 0
configure:27848: result: glibc2
configure:27868: checking if TCP_NODELAY setting is inherited from listening sockets
configure:27978: gcc -o conftest -DHAVE_MCTLS=1 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -L/home/development/Documents/TLMSP conftest.c -lrt -lcrypt -lpthread -ldl >&5
conftest.c: In function 'main':
conftest.c:227:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
exit(1);
^
conftest.c:227:9: warning: incompatible implicit declaration of built-in function 'exit'
conftest.c:227:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:233:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:233:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:235:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
memset(&sa, 0, sizeof sa);
^
conftest.c:235:5: warning: incompatible implicit declaration of built-in function 'memset'
conftest.c:235:5: note: include '<string.h>' or provide a declaration of 'memset'
conftest.c:244:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:244:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:251:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:251:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:257:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:257:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:262:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:262:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:274:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:274:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:280:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:280:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:286:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:286:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
conftest.c:290:9: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^
conftest.c:290:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:27978: $? = 0
configure:27978: ./conftest
configure:27978: $? = 0
configure:27992: result: yes
configure:28001: checking if O_NONBLOCK setting is inherited from listening sockets
configure:28146: gcc -o conftest -DHAVE_MCTLS=1 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -L/home/development/Documents/TLMSP conftest.c -lrt -lcrypt -lpthread -ldl >&5
configure:28146: $? = 0
configure:28146: ./conftest
O_NONBLOCK is not set in the child.
configure:28146: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #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 HAVE_ATOMIC_BUILTINS 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_PTHREAD_KEY_DELETE 1
| #define HAVE_PTHREAD_RWLOCK_INIT 1
| #define HAVE_PTHREAD_ATTR_SETGUARDSIZE 1
| #define HAVE_PTHREAD_YIELD 1
| #define HAVE_PTHREAD_RWLOCKS 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_GETSERVBYNAME_R 1
| #define HAVE_SIGSUSPEND 1
| #define HAVE_SIGWAIT 1
| #define HAVE_POLL 1
| #define HAVE_EPOLL 1
| #define HAVE_EPOLL_CREATE1 1
| #define HAVE_DUP3 1
| #define HAVE_ACCEPT4 1
| #define HAVE_SOCK_CLOEXEC 1
| #define HAVE_FDATASYNC 1
| #define HAVE_EPOLL_CREATE1 1
| #define HAVE_DUP3 1
| #define HAVE_ACCEPT4 1
| #define HAVE_SOCK_CLOEXEC 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_MMAP 1
| #define HAVE_MUNMAP 1
| #define HAVE_SHM_OPEN 1
| #define HAVE_SHM_UNLINK 1
| #define HAVE_SHMGET 1
| #define HAVE_SHMAT 1
| #define HAVE_SHMDT 1
| #define HAVE_SHMCTL 1
| #define HAVE_MPROTECT 1
| #define HAVE_MAP_ANON 1
| #define anonymous shared memory allocation method 1
| #define USE_SHMEM_MMAP_ANON 1
| #define namebased memory allocation method 1
| #define USE_SHMEM_SHMGET 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_CALLOC 1
| #define HAVE_SETSID 1
| #define HAVE_ISINF 1
| #define HAVE_ISNAN 1
| #define HAVE_GETENV 1
| #define HAVE_PUTENV 1
| #define HAVE_SETENV 1
| #define HAVE_UNSETENV 1
| #define HAVE_WRITEV 1
| #define HAVE_GETIFADDRS 1
| #define HAVE_UTIME 1
| #define HAVE_UTIMES 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_SENDFILE 1
| #define HAVE_SIGACTION 1
| #define HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_FORK 1
| #define HAVE_STRERROR_R 1
| #define HAVE_MMAP 1
| #define HAVE_MEMMOVE 1
| #define HAVE_GETPASS 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKSTEMP 1
| #define STDC_HEADERS 1
| #define HAVE_CRYPT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_SENDFILE_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_NETINET_TCP_H 1
| #define SETPGRP_VOID 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_VOIDP 8
| #define SIZEOF_CHAR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_PID_T 4
| #define SIZEOF_SSIZE_T 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define SIZEOF_INO_T 8
| #define SIZEOF_STRUCT_IOVEC 16
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRSTR 1
| #define HAVE_MEMCHR 1
| #define APR_INT64_STRFN strtol
| #define APR_OFF_T_STRFN strtol
| #define DSO_USE_DLFCN 1
| #define HAVE_WAITPID 1
| #define HAVE_VLA 1
| #define HAVE_SEMGET 1
| #define HAVE_SEMCTL 1
| #define HAVE_FLOCK 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SEM_CLOSE 1
| #define HAVE_SEM_UNLINK 1
| #define HAVE_SEM_POST 1
| #define HAVE_SEM_WAIT 1
| #define HAVE_LOCK_EX 1
| #define HAVE_F_SETLK 1
| #define HAVE_SEM_UNDO 1
| #define HAVE_POLLIN 1
| #define HAVE_PTHREAD_PROCESS_SHARED 1
| #define HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1
| #define HAVE_PTHREAD_MUTEX_ROBUST 1
| #define apr_lock implementation method 1
| #define USE_SYSVSEM_SERIALIZE 1
| #define DEV_RANDOM "/dev/urandom"
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define DIRENT_INODE d_fileno
| #define DIRENT_TYPE d_type
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define WAITIO_USES_POLL 1
| #define GETHOSTBYNAME_R_GLIBC2 1
| #define GETSERVBYNAME_R_GLIBC2 1
| /* end confdefs.h. */
|
| #ifdef HAVE_STDLIB_H
| #include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| #include <string.h>
| #endif
| #ifdef HAVE_STDIO_H
| #include <stdio.h>
| #endif
| #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_SYS_SELECT_H
| #include <sys/select.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_NETINET_TCP_H
| #include <netinet/tcp.h>
| #endif
| #ifndef HAVE_SOCKLEN_T
| typedef int socklen_t;
| #endif
| #ifdef HAVE_FCNTL_H
| #include <fcntl.h>
| #endif
| int main(void) {
| int listen_s, connected_s, client_s;
| int listen_port, rc;
| struct sockaddr_in sa;
| socklen_t sa_len;
| fd_set fds;
| struct timeval tv;
|
| listen_s = socket(AF_INET, SOCK_STREAM, 0);
| if (listen_s < 0) {
| perror("socket");
| exit(1);
| }
| memset(&sa, 0, sizeof sa);
| sa.sin_family = AF_INET;
| #ifdef BEOS
| sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
| #endif
| /* leave port 0 to get ephemeral */
| rc = bind(listen_s, (struct sockaddr *)&sa, sizeof sa);
| if (rc < 0) {
| perror("bind for ephemeral port");
| exit(1);
| }
| /* find ephemeral port */
| sa_len = sizeof(sa);
| rc = getsockname(listen_s, (struct sockaddr *)&sa, &sa_len);
| if (rc < 0) {
| perror("getsockname");
| exit(1);
| }
| listen_port = sa.sin_port;
| rc = listen(listen_s, 5);
| if (rc < 0) {
| perror("listen");
| exit(1);
| }
| rc = fcntl(listen_s, F_SETFL, O_NONBLOCK);
| if (rc < 0) {
| perror("fcntl(F_SETFL)");
| exit(1);
| }
| client_s = socket(AF_INET, SOCK_STREAM, 0);
| if (client_s < 0) {
| perror("socket");
| exit(1);
| }
| memset(&sa, 0, sizeof sa);
| sa.sin_family = AF_INET;
| sa.sin_port = listen_port;
| #ifdef BEOS
| sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
| #endif
| /* leave sin_addr all zeros to use loopback */
| rc = connect(client_s, (struct sockaddr *)&sa, sizeof sa);
| if (rc < 0) {
| perror("connect");
| exit(1);
| }
| sa_len = sizeof sa;
| /* 1 second select timeout */
| tv.tv_sec = 1;
| tv.tv_usec = 0;
| /* Set up fd set */
| FD_ZERO(&fds);
| FD_SET(listen_s, &fds);
| /* Wait for socket to become readable */
| rc = select(listen_s + 1, &fds, NULL, NULL, &tv);
| if (rc < 0) {
| perror("select");
| exit(1);
| }
| if (rc == 0) {
| fprintf(stderr, "Socket failed to become readable (timeout)\n");
| exit(1);
| }
| if (!FD_ISSET(listen_s, &fds)) {
| fprintf(stderr, "Socket failed to become readable (selected another fd)\n");
| exit(1);
| }
| connected_s = accept(listen_s, (struct sockaddr *)&sa, &sa_len);
| if (connected_s < 0) {
| perror("accept");
| exit(1);
| }
| rc = fcntl(connected_s, F_GETFL, 0);
| if (rc < 0) {
| perror("fcntl(F_GETFL)");
| exit(1);
| }
| if (!(rc & O_NONBLOCK)) {
| fprintf(stderr, "O_NONBLOCK is not set in the child.\n");
| exit(1);
| }
| return 0;
| }
|
configure:28160: result: no
configure:28169: checking whether TCP_NODELAY and TCP_CORK can both be enabled
configure:28229: gcc -o conftest -DHAVE_MCTLS=1 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -L/home/development/Documents/TLMSP conftest.c -lrt -lcrypt -lpthread -ldl >&5
configure:28229: $? = 0
configure:28229: ./conftest
configure:28229: $? = 0
configure:28239: result: yes
configure:28251: checking for TCP_CORK in netinet/tcp.h
configure:28276: result: yes
configure:28285: checking for TCP_NOPUSH in netinet/tcp.h
configure:28310: result: no
configure:28355: checking for SO_ACCEPTFILTER in sys/socket.h
configure:28380: result: no
configure:28395: checking whether SCTP is supported
configure:28432: gcc -o conftest -DHAVE_MCTLS=1 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -L/home/development/Documents/TLMSP conftest.c -lrt -lcrypt -lpthread -ldl >&5
conftest.c: In function 'main':
conftest.c:222:37: error: 'SCTP_NODELAY' undeclared (first use in this function)
if (setsockopt(s, IPPROTO_SCTP, SCTP_NODELAY, &opt, sizeof(int)) < 0)
^
conftest.c:222:37: note: each undeclared identifier is reported only once for each function it appears in
configure:28432: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #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 HAVE_ATOMIC_BUILTINS 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_PTHREAD_KEY_DELETE 1
| #define HAVE_PTHREAD_RWLOCK_INIT 1
| #define HAVE_PTHREAD_ATTR_SETGUARDSIZE 1
| #define HAVE_PTHREAD_YIELD 1
| #define HAVE_PTHREAD_RWLOCKS 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_GETSERVBYNAME_R 1
| #define HAVE_SIGSUSPEND 1
| #define HAVE_SIGWAIT 1
| #define HAVE_POLL 1
| #define HAVE_EPOLL 1
| #define HAVE_EPOLL_CREATE1 1
| #define HAVE_DUP3 1
| #define HAVE_ACCEPT4 1
| #define HAVE_SOCK_CLOEXEC 1
| #define HAVE_FDATASYNC 1
| #define HAVE_EPOLL_CREATE1 1
| #define HAVE_DUP3 1
| #define HAVE_ACCEPT4 1
| #define HAVE_SOCK_CLOEXEC 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_MMAP 1
| #define HAVE_MUNMAP 1
| #define HAVE_SHM_OPEN 1
| #define HAVE_SHM_UNLINK 1
| #define HAVE_SHMGET 1
| #define HAVE_SHMAT 1
| #define HAVE_SHMDT 1
| #define HAVE_SHMCTL 1
| #define HAVE_MPROTECT 1
| #define HAVE_MAP_ANON 1
| #define anonymous shared memory allocation method 1
| #define USE_SHMEM_MMAP_ANON 1
| #define namebased memory allocation method 1
| #define USE_SHMEM_SHMGET 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_CALLOC 1
| #define HAVE_SETSID 1
| #define HAVE_ISINF 1
| #define HAVE_ISNAN 1
| #define HAVE_GETENV 1
| #define HAVE_PUTENV 1
| #define HAVE_SETENV 1
| #define HAVE_UNSETENV 1
| #define HAVE_WRITEV 1
| #define HAVE_GETIFADDRS 1
| #define HAVE_UTIME 1
| #define HAVE_UTIMES 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_SENDFILE 1
| #define HAVE_SIGACTION 1
| #define HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_FORK 1
| #define HAVE_STRERROR_R 1
| #define HAVE_MMAP 1
| #define HAVE_MEMMOVE 1
| #define HAVE_GETPASS 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKSTEMP 1
| #define STDC_HEADERS 1
| #define HAVE_CRYPT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_SENDFILE_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_NETINET_TCP_H 1
| #define SETPGRP_VOID 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_VOIDP 8
| #define SIZEOF_CHAR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_PID_T 4
| #define SIZEOF_SSIZE_T 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define SIZEOF_INO_T 8
| #define SIZEOF_STRUCT_IOVEC 16
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRSTR 1
| #define HAVE_MEMCHR 1
| #define APR_INT64_STRFN strtol
| #define APR_OFF_T_STRFN strtol
| #define DSO_USE_DLFCN 1
| #define HAVE_WAITPID 1
| #define HAVE_VLA 1
| #define HAVE_SEMGET 1
| #define HAVE_SEMCTL 1
| #define HAVE_FLOCK 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SEM_CLOSE 1
| #define HAVE_SEM_UNLINK 1
| #define HAVE_SEM_POST 1
| #define HAVE_SEM_WAIT 1
| #define HAVE_LOCK_EX 1
| #define HAVE_F_SETLK 1
| #define HAVE_SEM_UNDO 1
| #define HAVE_POLLIN 1
| #define HAVE_PTHREAD_PROCESS_SHARED 1
| #define HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1
| #define HAVE_PTHREAD_MUTEX_ROBUST 1
| #define apr_lock implementation method 1
| #define USE_SYSVSEM_SERIALIZE 1
| #define DEV_RANDOM "/dev/urandom"
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define DIRENT_INODE d_fileno
| #define DIRENT_TYPE d_type
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define WAITIO_USES_POLL 1
| #define GETHOSTBYNAME_R_GLIBC2 1
| #define GETSERVBYNAME_R_GLIBC2 1
| #define HAVE_TCP_NODELAY_WITH_CORK 1
| #define HAVE_TCP_CORK 1
| /* end confdefs.h. */
|
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_NETINET_SCTP_H
| #include <netinet/sctp.h>
| #endif
| #ifdef HAVE_NETINET_SCTP_UIO_H
| #include <netinet/sctp_uio.h>
| #endif
| #include <stdlib.h>
| int main(void) {
| int s, opt = 1;
| if ((s = socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP)) < 0)
| exit(1);
| if (setsockopt(s, IPPROTO_SCTP, SCTP_NODELAY, &opt, sizeof(int)) < 0)
| exit(2);
| exit(0);
| }
configure:28442: result: no
configure:28452: checking for struct ip_mreq
configure:28475: gcc -c -DHAVE_MCTLS=1 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5
configure:28475: $? = 0
configure:28482: result: yes
configure:28499: checking for set_h_errno
configure:28499: gcc -o conftest -DHAVE_MCTLS=1 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -L/home/development/Documents/TLMSP conftest.c -lrt -lcrypt -lpthread -ldl >&5
/tmp/ccehPAtK.o: In function `main':
conftest.c:(.text+0xa): undefined reference to `set_h_errno'
collect2: error: ld returned 1 exit status
configure:28499: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #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 HAVE_ATOMIC_BUILTINS 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_PTHREAD_KEY_DELETE 1
| #define HAVE_PTHREAD_RWLOCK_INIT 1
| #define HAVE_PTHREAD_ATTR_SETGUARDSIZE 1
| #define HAVE_PTHREAD_YIELD 1
| #define HAVE_PTHREAD_RWLOCKS 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_GETSERVBYNAME_R 1
| #define HAVE_SIGSUSPEND 1
| #define HAVE_SIGWAIT 1
| #define HAVE_POLL 1
| #define HAVE_EPOLL 1
| #define HAVE_EPOLL_CREATE1 1
| #define HAVE_DUP3 1
| #define HAVE_ACCEPT4 1
| #define HAVE_SOCK_CLOEXEC 1
| #define HAVE_FDATASYNC 1
| #define HAVE_EPOLL_CREATE1 1
| #define HAVE_DUP3 1
| #define HAVE_ACCEPT4 1
| #define HAVE_SOCK_CLOEXEC 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_MMAP 1
| #define HAVE_MUNMAP 1
| #define HAVE_SHM_OPEN 1
| #define HAVE_SHM_UNLINK 1
| #define HAVE_SHMGET 1
| #define HAVE_SHMAT 1
| #define HAVE_SHMDT 1
| #define HAVE_SHMCTL 1
| #define HAVE_MPROTECT 1
| #define HAVE_MAP_ANON 1
| #define anonymous shared memory allocation method 1
| #define USE_SHMEM_MMAP_ANON 1
| #define namebased memory allocation method 1
| #define USE_SHMEM_SHMGET 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_CALLOC 1
| #define HAVE_SETSID 1
| #define HAVE_ISINF 1
| #define HAVE_ISNAN 1
| #define HAVE_GETENV 1
| #define HAVE_PUTENV 1
| #define HAVE_SETENV 1
| #define HAVE_UNSETENV 1
| #define HAVE_WRITEV 1
| #define HAVE_GETIFADDRS 1
| #define HAVE_UTIME 1
| #define HAVE_UTIMES 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_SENDFILE 1
| #define HAVE_SIGACTION 1
| #define HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_FORK 1
| #define HAVE_STRERROR_R 1
| #define HAVE_MMAP 1
| #define HAVE_MEMMOVE 1
| #define HAVE_GETPASS 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKSTEMP 1
| #define STDC_HEADERS 1
| #define HAVE_CRYPT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_SENDFILE_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_NETINET_TCP_H 1
| #define SETPGRP_VOID 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_VOIDP 8
| #define SIZEOF_CHAR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_PID_T 4
| #define SIZEOF_SSIZE_T 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define SIZEOF_INO_T 8
| #define SIZEOF_STRUCT_IOVEC 16
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRSTR 1
| #define HAVE_MEMCHR 1
| #define APR_INT64_STRFN strtol
| #define APR_OFF_T_STRFN strtol
| #define DSO_USE_DLFCN 1
| #define HAVE_WAITPID 1
| #define HAVE_VLA 1
| #define HAVE_SEMGET 1
| #define HAVE_SEMCTL 1
| #define HAVE_FLOCK 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SEM_CLOSE 1
| #define HAVE_SEM_UNLINK 1
| #define HAVE_SEM_POST 1
| #define HAVE_SEM_WAIT 1
| #define HAVE_LOCK_EX 1
| #define HAVE_F_SETLK 1
| #define HAVE_SEM_UNDO 1
| #define HAVE_POLLIN 1
| #define HAVE_PTHREAD_PROCESS_SHARED 1
| #define HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1
| #define HAVE_PTHREAD_MUTEX_ROBUST 1
| #define apr_lock implementation method 1
| #define USE_SYSVSEM_SERIALIZE 1
| #define DEV_RANDOM "/dev/urandom"
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define DIRENT_INODE d_fileno
| #define DIRENT_TYPE d_type
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define WAITIO_USES_POLL 1
| #define GETHOSTBYNAME_R_GLIBC2 1
| #define GETSERVBYNAME_R_GLIBC2 1
| #define HAVE_TCP_NODELAY_WITH_CORK 1
| #define HAVE_TCP_CORK 1
| #define HAVE_STRUCT_IPMREQ 1
| /* end confdefs.h. */
| /* Define set_h_errno to an innocuous variant, in case <limits.h> declares set_h_errno.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define set_h_errno innocuous_set_h_errno
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char set_h_errno (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef set_h_errno
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char set_h_errno ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_set_h_errno || defined __stub___set_h_errno
| choke me
| #endif
|
| int
| main ()
| {
| return set_h_errno ();