mirror of
https://github.com/matrix-construct/construct
synced 2024-06-18 18:08:21 +02:00
configure: Simplify output string related for some conditions.
This commit is contained in:
parent
74612e9474
commit
e71157b3aa
16
configure.ac
16
configure.ac
|
@ -202,7 +202,9 @@ AM_CONDITIONAL([ASSERT], [[[[ "$ASSERT" = "1" ]]]])
|
||||||
|
|
||||||
AM_COND_IF(ASSERT,
|
AM_COND_IF(ASSERT,
|
||||||
[
|
[
|
||||||
|
assert="yes"
|
||||||
], [
|
], [
|
||||||
|
assert="no"
|
||||||
CPPDEFINE([NDEBUG])
|
CPPDEFINE([NDEBUG])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -429,6 +431,7 @@ AM_COND_IF([LTO],
|
||||||
|
|
||||||
AM_COND_IF([OPTIMIZE],
|
AM_COND_IF([OPTIMIZE],
|
||||||
[
|
[
|
||||||
|
optimize="yes"
|
||||||
CXXFLAGS+=" -fweb"
|
CXXFLAGS+=" -fweb"
|
||||||
CXXFLAGS+=" -fdata-sections"
|
CXXFLAGS+=" -fdata-sections"
|
||||||
CXXFLAGS+=" -ffunction-sections"
|
CXXFLAGS+=" -ffunction-sections"
|
||||||
|
@ -447,6 +450,7 @@ AM_COND_IF([OPTIMIZE],
|
||||||
CXXFLAGS+=" -g"
|
CXXFLAGS+=" -g"
|
||||||
CXXFLAGS+=" -ggdb"
|
CXXFLAGS+=" -ggdb"
|
||||||
], [
|
], [
|
||||||
|
optimize="no"
|
||||||
CXXFLAGS+=" -g"
|
CXXFLAGS+=" -g"
|
||||||
CXXFLAGS+=" -ggdb"
|
CXXFLAGS+=" -ggdb"
|
||||||
CXXFLAGS+=" -fvar-tracking"
|
CXXFLAGS+=" -fvar-tracking"
|
||||||
|
@ -1473,18 +1477,6 @@ else
|
||||||
debug="no"
|
debug="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $OPTIMIZE ]]; then
|
|
||||||
optimize="yes"
|
|
||||||
else
|
|
||||||
optimize="no"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $ASSERT ]]; then
|
|
||||||
assert="yes"
|
|
||||||
else
|
|
||||||
assert="no"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
dnl Make it look sexay!
|
dnl Make it look sexay!
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue