diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-25 22:39:02 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-25 22:39:02 +0000 |
commit | 166e6519f5dd15a923af7511cb252235d28d1a53 (patch) | |
tree | 29a38a973d5f1e4547d68cae822a81e5100ac5e7 /libobjc/configure.ac | |
parent | 20fa5f76adcfec44b40a64d62ff0cc58477f9cd8 (diff) | |
download | gcc-166e6519f5dd15a923af7511cb252235d28d1a53.tar.gz |
2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
PR target/11572
* configure.ac (includedir): Set to "include"
except for Darwin.
(libext) Set to empty except for Darwin.
* configure: Regenerate
* Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
s/include/$(includedir)/g.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82266 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/configure.ac')
-rw-r--r-- | libobjc/configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libobjc/configure.ac b/libobjc/configure.ac index e6d65fa5e83..4f6ec14378d 100644 --- a/libobjc/configure.ac +++ b/libobjc/configure.ac @@ -154,6 +154,20 @@ esac AC_SUBST(toolexecdir) AC_SUBST(toolexeclibdir) +# Figure out if we want to name the include directory and the +# library name changes differently. +includedir=include +libext= +case "${host}" in + *-darwin*) + # Darwin is the only target so far that needs a different include directory. + includedir=gnu-runtime; + libext=-gnu + ;; +esac +AC_SUBST(includedir) +AC_SUBST(libext) + # -------- # Programs # -------- |