lol
at v206 37 lines 884 B view raw
1diff -Naur imake-1.0.7-orig/imake.c imake-1.0.7/imake.c 2--- imake-1.0.7-orig/imake.c 2013-08-17 10:11:50.000000000 +0000 3+++ imake-1.0.7/imake.c 2015-02-04 09:41:59.000000000 +0000 4@@ -1045,6 +1045,7 @@ 5 static void 6 get_distrib(FILE *inFile) 7 { 8+#if 0 9 struct stat sb; 10 11 static const char* suse = "/etc/SuSE-release"; 12@@ -1090,6 +1091,7 @@ 13 * at the content of /etc/debian_version */ 14 return; 15 } 16+#endif 17 /* what's the definitive way to tell what any particular distribution is? */ 18 19 fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxUnknown"); 20@@ -1337,6 +1339,7 @@ 21 static boolean 22 get_gcc(char *cmd) 23 { 24+#if 0 25 struct stat sb; 26 static const char* gcc_path[] = { 27 #if defined(linux) || \ 28@@ -1385,6 +1388,9 @@ 29 } 30 } 31 return FALSE; 32+#endif 33+ strcpy (cmd, IMAKE_COMPILETIME_CPP); 34+ return TRUE; 35 } 36 37 #ifdef CROSSCOMPILE