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
5f4a3f51
Commit
5f4a3f51
authored
Jan 16, 2001
by
tim@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle AVAILABLE_LANGUAGES more portably.
Fix a typo in BDB configuration.
parent
3ca140ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
7 deletions
+22
-7
acinclude.m4
acinclude.m4
+1
-1
configure.in
configure.in
+18
-1
sql/share/Makefile.am
sql/share/Makefile.am
+3
-5
No files found.
acinclude.m4
View file @
5f4a3f51
...
@@ -837,7 +837,7 @@ AC_DEFUN([MYSQL_TOP_BUILDDIR], [
...
@@ -837,7 +837,7 @@ AC_DEFUN([MYSQL_TOP_BUILDDIR], [
/* ) ;; # already an absolute path
/* ) ;; # already an absolute path
* ) [$1]="'\$(top_builddir)/'$[$1]" ;;
* ) [$1]="'\$(top_builddir)/'$[$1]" ;;
esac
esac
if X"$[$1]" != "/"
if
test
X"$[$1]" != "/"
then
then
[$1]=`echo $[$1] | sed -e 's,/$,,'`
[$1]=`echo $[$1] | sed -e 's,/$,,'`
fi
fi
...
...
configure.in
View file @
5f4a3f51
...
@@ -30,6 +30,18 @@ czech danish dutch english estonian french german greek hungarian \
...
@@ -30,6 +30,18 @@ czech danish dutch english estonian french german greek hungarian \
italian japanese korean norwegian norwegian-ny polish portuguese
\
italian japanese korean norwegian norwegian-ny polish portuguese
\
romanian russian slovak spanish swedish"
romanian russian slovak spanish swedish"
# Generate make rules for all error messages
AVAILABLE_LANGUAGES_ERRORS
=
AVAILABLE_LANGUAGES_ERRORS_RULES
=
$srcdir
/ac_available_languages_fragment
rm
-f
$AVAILABLE_LANGUAGES_ERRORS_RULES
for
i
in
$AVAILABLE_LANGUAGES
do
AVAILABLE_LANGUAGES_ERRORS
=
"
$AVAILABLE_LANGUAGES_ERRORS
$i
/errmsg.sys"
echo
"
$i
/errmsg.sys:
$i
/errmsg.txt
\$
(top_srdir)/extra/comp_err
$i
/errmsg.txt
$i
/errmsg.sys"
\
>>
$AVAILABLE_LANGUAGES_ERRORS_RULES
done
#####
#####
#####
#####
...
@@ -42,6 +54,8 @@ AC_SUBST(DOT_FRM_VERSION)
...
@@ -42,6 +54,8 @@ AC_SUBST(DOT_FRM_VERSION)
AC_DEFINE_UNQUOTED
(
DOT_FRM_VERSION,
$DOT_FRM_VERSION
)
AC_DEFINE_UNQUOTED
(
DOT_FRM_VERSION,
$DOT_FRM_VERSION
)
AC_SUBST
(
SHARED_LIB_VERSION
)
AC_SUBST
(
SHARED_LIB_VERSION
)
AC_SUBST
(
AVAILABLE_LANGUAGES
)
AC_SUBST
(
AVAILABLE_LANGUAGES
)
AC_SUBST
(
AVAILABLE_LANGUAGES_ERRORS
)
AC_SUBST_FILE
(
AVAILABLE_LANGUAGES_ERRORS_RULES
)
# Canonicalize the configuration name.
# Canonicalize the configuration name.
SYSTEM_TYPE
=
"
$host_vendor
-
$host_os
"
SYSTEM_TYPE
=
"
$host_vendor
-
$host_os
"
...
@@ -1911,7 +1925,10 @@ AC_OUTPUT(Makefile extra/Makefile mysys/Makefile isam/Makefile \
...
@@ -1911,7 +1925,10 @@ AC_OUTPUT(Makefile extra/Makefile mysys/Makefile isam/Makefile \
tests/Makefile Docs/Makefile support-files/Makefile
\
tests/Makefile Docs/Makefile support-files/Makefile
\
mysql-test/Makefile
\
mysql-test/Makefile
\
include/mysql_version.h
include/mysql_version.h
, ,
[
test
-z
"
$CONFIG_HEADERS
"
||
echo
timestamp
>
stamp-h]
)
, ,
[
test
-z
"
$CONFIG_HEADERS
"
||
echo
timestamp
>
stamp-h
rm
-f
$AVAILABLE_LANGUAGES_ERRORS_RULES
])
echo
echo
echo
"MySQL has a Web site at http://www.mysql.com/ which carries details on the"
echo
"MySQL has a Web site at http://www.mysql.com/ which carries details on the"
...
...
sql/share/Makefile.am
View file @
5f4a3f51
## Process this file with automake to create Makefile.in
## Process this file with automake to create Makefile.in
ERRMSG
=
$(
patsubst
%, %/errmsg.sys, @AVAILABLE_LANGUAGES@
)
# This requires gnu cp at distribution time.
# This requires gnu cp at distribution time.
dist-hook
:
dist-hook
:
for
lang
in
@AVAILABLE_LANGUAGES@ charsets
;
\
for
lang
in
@AVAILABLE_LANGUAGES@ charsets
;
\
do
cp
-a
$(srcdir)
/
$$
lang
$(distdir)
;
done
do
cp
-a
$(srcdir)
/
$$
lang
$(distdir)
;
done
all
:
$(ERRMSG)
all
:
@AVAILABLE_LANGUAGES_ERRORS@
$(ERRMSG)
:
%.sys: %.txt
# this is ugly, but portable
../../extra/comp_err
$<
$
@
@AVAILABLE_LANGUAGES_ERRORS_RULES
@
install-data-local
:
install-data-local
:
for
lang
in
@AVAILABLE_LANGUAGES@
;
\
for
lang
in
@AVAILABLE_LANGUAGES@
;
\
...
...
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