diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-05-25 22:39:02 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-05-25 15:39:02 -0700 |
commit | ff65de76d08fd68772142066882fc2da9f4ddf6e (patch) | |
tree | 29a38a973d5f1e4547d68cae822a81e5100ac5e7 /libobjc/configure.ac | |
parent | b31ad637454889b80006372a4074cd0c2077f884 (diff) | |
download | gcc-ff65de76d08fd68772142066882fc2da9f4ddf6e.zip gcc-ff65de76d08fd68772142066882fc2da9f4ddf6e.tar.gz gcc-ff65de76d08fd68772142066882fc2da9f4ddf6e.tar.bz2 |
re PR libobjc/11572 (GNU libobjc no longer compiled on Darwin)
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.
From-SVN: r82266
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 e6d65fa..4f6ec14 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 # -------- |