cs configure: propoagate some options to rktio configure
Otherwise, for example, there's a pthread mismatch currently on arm32 for rktio compilation and racketcs linking.
This commit is contained in:
parent
ec0964861f
commit
fd236d99ef
14
racket/src/cs/c/configure
vendored
14
racket/src/cs/c/configure
vendored
|
@ -5372,6 +5372,20 @@ SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} RANLIB="'"'"${RANLIB}"'"'
|
||||||
SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} WINDRES="'"'"${WINDRES}"'"'
|
SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} WINDRES="'"'"${WINDRES}"'"'
|
||||||
SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} CPPFLAGS="'"'"${CPPFLAGS}"'"'
|
SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} CPPFLAGS="'"'"${CPPFLAGS}"'"'
|
||||||
|
|
||||||
|
# Make sure the --enable-pthread result is propagated:
|
||||||
|
if test "${enable_pthread}" = "yes" ; then
|
||||||
|
SUB_CONFIGURE_EXTRAS="$SUB_CONFIGURE_EXTRAS --enable-pthread"
|
||||||
|
else
|
||||||
|
SUB_CONFIGURE_EXTRAS="$SUB_CONFIGURE_EXTRAS --disable-pthread"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make sure the --enable-iconv result is propagated:
|
||||||
|
if test "${enable_iconv}" = "yes" ; then
|
||||||
|
SUB_CONFIGURE_EXTRAS="$SUB_CONFIGURE_EXTRAS --enable-iconv"
|
||||||
|
else
|
||||||
|
SUB_CONFIGURE_EXTRAS="$SUB_CONFIGURE_EXTRAS --disable-iconv"
|
||||||
|
fi
|
||||||
|
|
||||||
############## libtool ################
|
############## libtool ################
|
||||||
|
|
||||||
if test "${enable_shared}" = "yes" ; then
|
if test "${enable_shared}" = "yes" ; then
|
||||||
|
|
|
@ -601,6 +601,20 @@ SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} RANLIB="'"'"${RANLIB}"'"'
|
||||||
SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} WINDRES="'"'"${WINDRES}"'"'
|
SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} WINDRES="'"'"${WINDRES}"'"'
|
||||||
SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} CPPFLAGS="'"'"${CPPFLAGS}"'"'
|
SUB_CONFIGURE_EXTRAS="${SUB_CONFIGURE_EXTRAS} CPPFLAGS="'"'"${CPPFLAGS}"'"'
|
||||||
|
|
||||||
|
# Make sure the --enable-pthread result is propagated:
|
||||||
|
if test "${enable_pthread}" = "yes" ; then
|
||||||
|
SUB_CONFIGURE_EXTRAS="$SUB_CONFIGURE_EXTRAS --enable-pthread"
|
||||||
|
else
|
||||||
|
SUB_CONFIGURE_EXTRAS="$SUB_CONFIGURE_EXTRAS --disable-pthread"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make sure the --enable-iconv result is propagated:
|
||||||
|
if test "${enable_iconv}" = "yes" ; then
|
||||||
|
SUB_CONFIGURE_EXTRAS="$SUB_CONFIGURE_EXTRAS --enable-iconv"
|
||||||
|
else
|
||||||
|
SUB_CONFIGURE_EXTRAS="$SUB_CONFIGURE_EXTRAS --disable-iconv"
|
||||||
|
fi
|
||||||
|
|
||||||
############## libtool ################
|
############## libtool ################
|
||||||
|
|
||||||
if test "${enable_shared}" = "yes" ; then
|
if test "${enable_shared}" = "yes" ; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user