Commit 1c814b53 authored by lenz@kallisto.local's avatar lenz@kallisto.local

- when removing the readline subdir for the commercial distribution,

   configure.in needs to be updated and configure needs to be recreated
   for the build to succed
parent af0d9a70
...@@ -101,8 +101,12 @@ sub main ...@@ -101,8 +101,12 @@ sub main
unlink("$destdir/PUBLIC", "$destdir/README"); unlink("$destdir/PUBLIC", "$destdir/README");
copy("$WD/Docs/MySQLEULA.txt", "$destdir"); copy("$WD/Docs/MySQLEULA.txt", "$destdir");
# remove readline subdir # remove readline subdir and update configure accordingly
`rm -rf $destdir/cmd-line-utils/readline`; system("rm -rf $destdir/cmd-line-utils/readline");
unlink ("$destdir/configure") or die "Can't delete $destdir/configure: $!\n";
`(cd $destdir ; sed -e 's!\ cmd-line-utils\/readline\/Makefile\ dnl!!g' < configure.in > configure.in.new)`;
rename ("$destdir/configure.in.new","$destdir/configure.in") or die "Can't rename $destdir/configure.in.new: $!\n";;
`(cd $destdir ; autoconf)`;
# fix file copyrights # fix file copyrights
&fix_usage_copyright(); &fix_usage_copyright();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment