mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-3 add the PIC flags variables if ENABLE_SHARED is non-null
X-SVN-Rev: 2546
This commit is contained in:
parent
324d161aa8
commit
0e3e4ebdd0
2 changed files with 153 additions and 134 deletions
278
icu4c/source/configure
vendored
278
icu4c/source/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -17,6 +17,9 @@ AC_SUBST(VERSION_MAJOR)
|
|||
UNICODE_VERSION="3.0.0"
|
||||
AC_SUBST(UNICODE_VERSION)
|
||||
|
||||
thedatadir=`eval echo $datadir`
|
||||
AC_SUBST(thedatadir)
|
||||
|
||||
dnl Shouldn't need the AC_SUBST
|
||||
CPPFLAGS="${CPPFLAGS} -I."
|
||||
AC_SUBST(CPPFLAGS)
|
||||
|
@ -106,6 +109,12 @@ AC_ARG_ENABLE(shared,
|
|||
[ENABLE_SHARED=YES]
|
||||
)
|
||||
AC_SUBST(ENABLE_SHARED)
|
||||
if test x$ENABLE_SHARED = xYES
|
||||
then
|
||||
CPPFLAGS="$CPPFLAGS \$(PICCPPFLAGS)"
|
||||
CLAGS="$CFLAGS \$(PICFLAGS)"
|
||||
CXXFLAGS="$CXXFLAGS \$(PICFLAGS)"
|
||||
fi
|
||||
|
||||
dnl Check whether to build static libraries
|
||||
AC_ARG_ENABLE(static,
|
||||
|
|
Loading…
Add table
Reference in a new issue