Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
a5ee2b69
Commit
a5ee2b69
authored
Sep 07, 2009
by
coppro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configure now allows selection of debugging.
parent
263628fc
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2060 additions
and
2964 deletions
+2060
-2964
MakeAM.sh
MakeAM.sh
+1
-1
Makefile.in
Makefile.in
+153
-87
configure
configure
+1889
-2865
configure.ac
configure.ac
+17
-11
No files found.
MakeAM.sh
View file @
a5ee2b69
...
...
@@ -12,7 +12,7 @@ echo "
AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = magicseteditor
AM_CXXFLAGS = @WX_CXXFLAGS@
\$
(BOOST_CXXFLAGS) -DUNICODE -I . -Wall
-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
AM_CXXFLAGS = @WX_CXXFLAGS@
\$
(BOOST_CXXFLAGS) -DUNICODE -I . -Wall
AM_LDFLAGS = @WX_LIBS@
\$
(BOOST_LDFLAGS)
magicseteditor_LDADD =
\$
(BOOST_REGEX_LIB)
...
...
Makefile.in
View file @
a5ee2b69
This diff is collapsed.
Click to expand it.
configure
View file @
a5ee2b69
This diff is collapsed.
Click to expand it.
configure.ac
View file @
a5ee2b69
...
...
@@ -18,8 +18,17 @@ if test -n "${CXXFLAGS}"; then
user_set_cxxflags=yes
fi
AC_PROG_CXX
AC_ARG_ENABLE(debug, [--enable-debug Enable debug build (requires debug
versions of wxWidgets and libstdc++.], [DEBUG=1])
if test "x${DEBUG}" = x1; then
DEFAULT_CXXFLAGS="-ggdb3 -O0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
WXCONFIG_FLAGS="--debug"
else
DEFAULT_CXXFLAGS="-O2"
WXCONFIG_FLAGS=""
fi
if test X$user_set_cxxflags != Xyes; then
CXXFLAGS=
"-g -O0"
CXXFLAGS=
${DEFAULT_CXXFLAGS}
fi
# Checks for libraries.
...
...
@@ -32,16 +41,18 @@ BOOST_REGEX_LIB="-Wl,-Bstatic $BOOST_REGEX_LIB -Wl,-Bdynamic"
# Check for wxWidgets
AM_OPTIONS_WXCONFIG
AM_PATH_WXCONFIG(
2.8.0,wxWin=1,,,[--debug]
)
if test "$
wxWin
" != 1; then
AM_PATH_WXCONFIG(
[2.8.0],[HAVE_WX=1],,,${WX_CONFIG_FLAGS}
)
if test "$
{HAVE_WX}
" != 1; then
AC_MSG_ERROR([
wxWindows must be installed on your system
but
wx-config script couldn't be foun
d.
but
could not be configure
d.
Please check that wx-config is in path, the directory
where wxWindows libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWindows version is 2.6.0 or above.
equivalent variable and wxWindows version is 2.6.0 or
above. If --enable-debug was passed, please ensure
debugging libraries are installed.
])
fi
...
...
@@ -95,15 +106,10 @@ int main()
return 0;
}], [ap_cv_atomic_builtins=yes], [ap_cv_atomic_builtins=no], [ap_cv_atomic_builtins=no])])
if test "
$ap_cv_atomic_builtins" = "
yes"; then
if test "
x$ap_cv_atomic_builtins" = "x
yes"; then
AC_DEFINE(HAVE_GCC_ATOMIC_BUILTINS, 1, [Define if compiler provides atomic builtins])
fi
AC_OUTPUT([
Makefile
])
echo "*******************************************************************************
*DON'T YOU DARE SHIP THIS VERSION BECAUSE DEBUGGING IS ENABLED PLEASE DISABLE *
*IT FIRST BY REMOVING --debug FROM WX AND REMOVING LIBSTDCXX -D FROM MakeAM.sh*
*******************************************************************************"
\ No newline at end of file
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