Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
nexedi
MariaDB
Commits
9cca0292
Commit
9cca0292
authored
Apr 04, 2008
by
vasil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hack the autotools' files so users can compile without having autotools installed.
parent
4fac239b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
scripts/make_source_release.sh
scripts/make_source_release.sh
+20
-1
No files found.
scripts/make_source_release.sh
View file @
9cca0292
...
...
@@ -52,12 +52,31 @@ tar -zxf ${MYSQL_ARCHIVE}
# get InnoDB sources
cd
${
MYSQL_DIR
}
/storage
rm
-fr
innobase
mv
innobase innobase.orig
# XXX this must export a specific tag, not the latest revision, but
# we do not yet have tags.
svn
export
${
INNODB_SVN_REPO
}
/branches/zip innobase
# "steal" MySQL's ./COPYING (GPLv2)
cp
-v
../COPYING innobase/
# Hack the autotools files so users can compile by using ./configure and
# make without having autotools installed. This has the drawback that if
# users build dynamic (ha_innodb.so) on i386 it will (probably) be compiled
# with PIC and thus it will be slower. If we do not do this, MySQL's configure
# will not parse @INNODB_CFLAGS@ and @INNODB_DYNAMIC_CFLAGS@ when creating
# innobase/Makefile from innobase/Makefile.in and subsequently compilation
# will fail on the user's machine with an error like (if he does not have
# autotools):
# gcc: @INNODB_CFLAGS@: No such file or directory
# In the long run we could inject INNODB_DYNAMIC_CFLAGS="-prefer-non-pic"
# into branches/5.1/plug.in so it will be included in standard MySQL
# distributions.
cp
innobase.orig/plug.in innobase/plug.in
sed
-i
''
\
-e
's/\$(INNODB_CFLAGS)//g'
\
-e
's/\$(INNODB_DYNAMIC_CFLAGS)/-DMYSQL_DYNAMIC_PLUGIN/g'
\
innobase/Makefile.am
rm
-fr
innobase.orig
# remove unnecessary files
cd
innobase
...
...
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