Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d7329195
Commit
d7329195
authored
Apr 17, 2010
by
Avuton Olrich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: Organize all added CFLAGs.
parent
01a675eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
configure.ac
configure.ac
+19
-19
No files found.
configure.ac
View file @
d7329195
...
@@ -1364,25 +1364,6 @@ fi
...
@@ -1364,25 +1364,6 @@ fi
AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
dnl
dnl build options
dnl
if test "x$enable_werror" = xyes; then
AM_CFLAGS="$AM_CFLAGS -Werror -pedantic-errors"
fi
#if test "x$enable_debug" = xno; then
# don't set NDEBUG for now, until MPD is stable
#AM_CFLAGS="$AM_CFLAGS -DNDEBUG"
#fi
if test "x$enable_gprof" = xyes; then
MPD_CFLAGS="$MPD_CFLAGS -pg"
MPD_LIBS="$MPD_LIBS -pg"
fi
dnl ---------------------------------------------------------------------------
dnl ---------------------------------------------------------------------------
dnl test suite
dnl test suite
dnl ---------------------------------------------------------------------------
dnl ---------------------------------------------------------------------------
...
@@ -1391,6 +1372,14 @@ AM_CONDITIONAL(ENABLE_TEST, test "x$enable_test" = xyes)
...
@@ -1391,6 +1372,14 @@ AM_CONDITIONAL(ENABLE_TEST, test "x$enable_test" = xyes)
dnl ---------------------------------------------------------------------------
dnl ---------------------------------------------------------------------------
dnl CFLAGS
dnl CFLAGS
dnl ---------------------------------------------------------------------------
dnl ---------------------------------------------------------------------------
dnl ---------------------------------- debug ----------------------------------
#if test "x$enable_debug" = xno; then
# don't set NDEBUG for now, until MPD is stable
#AM_CFLAGS="$AM_CFLAGS -DNDEBUG"
#fi
dnl ----------------------------------- GCC -----------------------------------
if test x$GCC = xyes
if test x$GCC = xyes
then
then
MPD_CHECK_FLAG([-Wall])
MPD_CHECK_FLAG([-Wall])
...
@@ -1405,6 +1394,17 @@ then
...
@@ -1405,6 +1394,17 @@ then
MPD_CHECK_FLAG([-pedantic])
MPD_CHECK_FLAG([-pedantic])
fi
fi
dnl ------------------------------ gprof profiler -----------------------------
if test "x$enable_gprof" = xyes; then
MPD_CFLAGS="$MPD_CFLAGS -pg"
MPD_LIBS="$MPD_LIBS -pg"
fi
dnl ---------------------------- warnings as errors ---------------------------
if test "x$enable_werror" = xyes; then
AM_CFLAGS="$AM_CFLAGS -Werror -pedantic-errors"
fi
dnl ---------------------------------------------------------------------------
dnl ---------------------------------------------------------------------------
dnl Pretty-Print Results
dnl Pretty-Print Results
dnl ---------------------------------------------------------------------------
dnl ---------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment