Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Albert Gräf
Gem
Commits
676ee617
Commit
676ee617
authored
Aug 26, 2017
by
IOhannes m zmölnig
Browse files
[m4] split header check from adding RTE flags to build-flags
parent
c8d0d9c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
m4/gem.m4
View file @
676ee617
...
@@ -501,6 +501,7 @@ GEM_RTE_CFLAGS="-DPD"
...
@@ -501,6 +501,7 @@ GEM_RTE_CFLAGS="-DPD"
GEM_RTE_LIBS=""
GEM_RTE_LIBS=""
GEM_RTE="Pure Data"
GEM_RTE="Pure Data"
have_pd=no
AC_ARG_WITH([pd],
AC_ARG_WITH([pd],
AS_HELP_STRING([--with-pd=<path/to/pd>],[where to find pd-binary (./bin/pd.exe) and pd-sources]))
AS_HELP_STRING([--with-pd=<path/to/pd>],[where to find pd-binary (./bin/pd.exe) and pd-sources]))
...
@@ -541,7 +542,10 @@ AS_IF([ test -d "$with_pd" ],[
...
@@ -541,7 +542,10 @@ AS_IF([ test -d "$with_pd" ],[
AC_MSG_RESULT([${with_pd}])
AC_MSG_RESULT([${with_pd}])
GEM_RTE_LIBS="${GEM_RTE_LIBS}${GEM_RTE_LIBS:+ }-L${with_pd}"
GEM_RTE_LIBS="${GEM_RTE_LIBS}${GEM_RTE_LIBS:+ }-L${with_pd}"
])
])
have_pd=yes
])
AS_IF([ test "x${have_pd}" = "xyes" ],[
CPPFLAGS="$CPPFLAGS ${GEM_RTE_CFLAGS}"
CPPFLAGS="$CPPFLAGS ${GEM_RTE_CFLAGS}"
CFLAGS="$CFLAGS ${GEM_RTE_CFLAGS}"
CFLAGS="$CFLAGS ${GEM_RTE_CFLAGS}"
CXXFLAGS="$CXXFLAGS ${GEM_RTE_CFLAGS}"
CXXFLAGS="$CXXFLAGS ${GEM_RTE_CFLAGS}"
...
...
Write
Preview
Supports
Markdown
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