a86d62bf13
- Use %%DATADIR%% - Take maintainership
43 lines
1.4 KiB
Text
43 lines
1.4 KiB
Text
--- configure.orig 2008-02-22 16:51:22.000000000 +0100
|
|
+++ configure 2008-12-29 11:25:54.000000000 +0100
|
|
@@ -354,7 +354,7 @@
|
|
|
|
log_file("test.cc");
|
|
|
|
- if (run_cmd($cxx,@cxxflags,"-c","test.cc","-o","xxtest.o") != 0) {
|
|
+ if (0) {
|
|
print ": no\n";
|
|
$y = header_def($x);
|
|
print CONFIGH "#undef $y\n";
|
|
@@ -512,17 +512,9 @@
|
|
#optional headers
|
|
header_check("strings.h","sys/soundcard.h","sys/audioio.h","linux/joystick.h");
|
|
|
|
-$t1=macro_check("netinet/in.h","IPPROTO_TCP","HAVE_IPPROTO_TCP_ON_IN_H");
|
|
-$t2=macro_check("netinet/in.h","TCP_NODELAY","HAVE_TCP_NODELAY_ON_IN_H");
|
|
-$t3=macro_check("netinet/in.h","SOL_TCP","HAVE_SOL_TCP_ON_IN_H");
|
|
-
|
|
-$t4=macro_check("netinet/tcp.h","IPPROTO_TCP","HAVE_IPPROTO_TCP_ON_TCP_H");
|
|
-$t5=macro_check("netinet/tcp.h","TCP_NODELAY","HAVE_TCP_NODELAY_ON_TCP_H");
|
|
-$t6=macro_check("netinet/tcp.h","SOL_TCP","HAVE_SOL_TCP_ON_TCP_H");
|
|
-
|
|
print " net options: ";
|
|
|
|
-if ($t2 != 0) {
|
|
+if (0) {
|
|
cppdef("USE_SOCK_OPTS");
|
|
if ($t1!=0 && $t3!=0) {
|
|
cppundef("NEED_TCP_H");
|
|
@@ -536,10 +528,10 @@
|
|
print "netinet/tcp.h not required, SOL_TCP present.\n";
|
|
}
|
|
} else {
|
|
- if ($t5 != 0 && ($t1!=0 || $t4!=0) && ($t3!=0 || $t6!=0) ) {
|
|
+ if (1) {
|
|
cppdef("NEED_TCP_H");
|
|
cppdef("USE_SOCK_OPTS");
|
|
- if ($t1!=0 || $t4!=0) {
|
|
+ if (1) {
|
|
cppdef("USE_IPPROTO_TCP");
|
|
print "netinet/tcp.h required, IPPROTO_TCP present.\n";
|
|
} else {
|