Commit 213c4a8a by Geoffrey Keating Committed by Geoffrey Keating

darwin.h: Add include guards.

	* config/darwin.h: Add include guards.  Remove old, now incorrect,
	comment about STANDARD_EXEC_PREFIX.

From-SVN: r77746
parent 52ccb3d2
2004-02-12 Geoffrey Keating <geoffk@apple.com> 2004-02-12 Geoffrey Keating <geoffk@apple.com>
* config/darwin.h: Add include guards. Remove old, now incorrect,
comment about STANDARD_EXEC_PREFIX.
* Makefile.in (install-man): Use $(CPP_INSTALL_NAME) and * Makefile.in (install-man): Use $(CPP_INSTALL_NAME) and
$(GCOV_INSTALL_NAME) to install manpages. Remove generic rule $(GCOV_INSTALL_NAME) to install manpages. Remove generic rule
for installing .1 manpages. Add rules for installing cpp for installing .1 manpages. Add rules for installing cpp
......
...@@ -20,6 +20,9 @@ along with GCC; see the file COPYING. If not, write to ...@@ -20,6 +20,9 @@ along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#ifndef CONFIG_DARWIN_H
#define CONFIG_DARWIN_H
/* The definitions in this file are common to all processor types /* The definitions in this file are common to all processor types
running Darwin, which is the kernel for Mac OS X. Darwin is running Darwin, which is the kernel for Mac OS X. Darwin is
basically a BSD user layer laid over a Mach kernel, then evolved basically a BSD user layer laid over a Mach kernel, then evolved
...@@ -30,11 +33,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,11 +33,6 @@ Boston, MA 02111-1307, USA. */
/* Although NeXT ran on many different architectures, as of Jan 2001 /* Although NeXT ran on many different architectures, as of Jan 2001
the only supported Darwin targets are PowerPC and x86. */ the only supported Darwin targets are PowerPC and x86. */
/* Technically, STANDARD_EXEC_PREFIX should be /usr/libexec/, but in
practice this makes it hard to install new compilers elsewhere, so
leave it undefined and expect system builders to set configure args
correctly. */
/* One of Darwin's NeXT legacies is the Mach-O format, which is partly /* One of Darwin's NeXT legacies is the Mach-O format, which is partly
like a.out and partly like COFF, with additional features like like a.out and partly like COFF, with additional features like
multi-architecture binary support. */ multi-architecture binary support. */
...@@ -831,3 +829,5 @@ enum machopic_addr_class { ...@@ -831,3 +829,5 @@ enum machopic_addr_class {
#define ASM_APP_ON "" #define ASM_APP_ON ""
#undef ASM_APP_OFF #undef ASM_APP_OFF
#define ASM_APP_OFF "" #define ASM_APP_OFF ""
#endif /* CONFIG_DARWIN_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment