]> andersk Git - moira.git/commitdiff
location change for cpp on post-4.3 systems
authorjtkohl <jtkohl>
Wed, 30 Aug 1989 11:25:31 +0000 (11:25 +0000)
committerjtkohl <jtkohl>
Wed, 30 Aug 1989 11:25:31 +0000 (11:25 +0000)
util/imake/imake.c

index 5e2d89e450bbf856b30328c0cf50d9160df55532..6127b70a25cb87f2dc39a006232b854b572416ba 100644 (file)
@@ -122,11 +122,16 @@ int       InRule = FALSE;
 
 typedef        u_char  boolean;
 
-#ifndef apollo
-char   *cpp = "/lib/cpp";
-#else apollo
+#include <sys/param.h>
+#if BSD > 43
+char   *cpp = "/usr/bin/cpp";
+#else
+#ifdef apollo
 char   *cpp = "/usr/lib/cpp";
-#endif /* apollo */
+#else
+char   *cpp = "/lib/cpp";
+#endif
+#endif
 
 char   *tmpMakefile    = "/usr/tmp/tmp-make.XXXXXX";
 char   *tmpImakefile    = "/usr/tmp/tmp-imake.XXXXXX";
This page took 0.08395 seconds and 5 git commands to generate.