mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
(CFLAGS_SHAREDLIB): Figure this out, and AC_SUBST it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1614 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7f3c9b5be7
commit
cf85b008c8
1 changed files with 11 additions and 0 deletions
11
configure.in
11
configure.in
|
@ -248,6 +248,17 @@ AC_ARG_ENABLE(shared, Build the library as a shared library,
|
|||
SHARED_LIBRARY=)
|
||||
AC_SUBST(SHARED_LIBRARY)
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# What flags to pass for making a shared library?
|
||||
# xxx This should be smarter and more general
|
||||
#--------------------------------------------------------------------
|
||||
echo Checking what flags to use for making a shared lib...
|
||||
if (./config.guess | grep solaris); then
|
||||
CFLAGS_SHAREDLIB='$(CFLAGS_SHAREDLIB_SOLARIS)'
|
||||
else
|
||||
CFLAGS_SHAREDLIB='$(CFLAGS_SHAREDLIB_GNU)'
|
||||
fi
|
||||
AC_SUBST(CFLAGS_SHAREDLIB)
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Write the Makefiles
|
||||
|
|
Loading…
Reference in a new issue