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
99b575a2
Commit
99b575a2
authored
Aug 10, 2000
by
tim@localhost.polyesthetic.msg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automatically detect HAVE_INT_8_16_32.
parent
621c7db2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
6 deletions
+31
-6
Docs/manual.texi
Docs/manual.texi
+4
-4
acconfig.h
acconfig.h
+3
-0
configure.in
configure.in
+24
-2
No files found.
Docs/manual.texi
View file @
99b575a2
...
@@ -6687,8 +6687,8 @@ Automatic detection of @code{xlC} is missing from Autoconf, so a
...
@@ -6687,8 +6687,8 @@ Automatic detection of @code{xlC} is missing from Autoconf, so a
@strong{MySQL}: (The example uses the IBM compiler)
@strong{MySQL}: (The example uses the IBM compiler)
@example
@example
shell> CC="xlc_r" CFLAGS="-ma -O3 -qstrict
-DHAVE_INT_8_16_32
" \
shell> CC="xlc_r" CFLAGS="-ma -O3 -qstrict" \
CXX="xlC_r" CXXFLAGS="-ma -O3 -qstrict
-DHAVE_INT_8_16_32
" \
CXX="xlC_r" CXXFLAGS="-ma -O3 -qstrict" \
./configure
./configure
@end example
@end example
...
@@ -6704,9 +6704,9 @@ handling in @code{gcc}/@code{egcs} is not thread-safe! (This is tested with
...
@@ -6704,9 +6704,9 @@ handling in @code{gcc}/@code{egcs} is not thread-safe! (This is tested with
@example
@example
shell> CC=gcc \
shell> CC=gcc \
CFLAGS="
-DHAVE_INT_8_16_32
" \
CFLAGS="" \
CXX=gcc \
CXX=gcc \
CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti
-DHAVE_INT_8_16_32
" \" \
CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti" \" \
./configure --prefix=/usr/local/mysql --with-debug --with-low-memory
./configure --prefix=/usr/local/mysql --with-debug --with-low-memory
@end example
@end example
acconfig.h
View file @
99b575a2
...
@@ -69,6 +69,9 @@
...
@@ -69,6 +69,9 @@
this with 6 arguments */
this with 6 arguments */
#undef HAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
#undef HAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
/* Define if int8, int16 and int32 types exist */
#undef HAVE_INT_8_16_32
/* Define if we have GNU readline */
/* Define if we have GNU readline */
#undef HAVE_LIBREADLINE
#undef HAVE_LIBREADLINE
...
...
configure.in
View file @
99b575a2
...
@@ -580,6 +580,28 @@ LIBS_AFTER_SOCKET=$LIBS
...
@@ -580,6 +580,28 @@ LIBS_AFTER_SOCKET=$LIBS
LIBS
=
"
$LIBS_BEFORE_SOCKET
$LIBS_SOCKET
$LIBS_AFTER_SOCKET
"
LIBS
=
"
$LIBS_BEFORE_SOCKET
$LIBS_SOCKET
$LIBS_AFTER_SOCKET
"
NON_THREADED_CLIENT_LIBS
=
"
$LIBS
"
NON_THREADED_CLIENT_LIBS
=
"
$LIBS
"
AC_MSG_CHECKING
([
for
int8]
)
AC_TRY_RUN
([
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
int main
()
{
int8 i
;
return
0
;
}
]
, AC_DEFINE
(
HAVE_INT_8_16_32
)
AC_MSG_RESULT
([
yes
])
, AC_MSG_RESULT
([
no]
)
)
#
#
# Some system specific hacks
# Some system specific hacks
#
#
...
@@ -662,8 +684,8 @@ case $SYSTEM_TYPE in
...
@@ -662,8 +684,8 @@ case $SYSTEM_TYPE in
;;
;;
*
aix4.3
*
)
*
aix4.3
*
)
echo
"Adding defines for AIX"
echo
"Adding defines for AIX"
CFLAGS
=
"
$CFLAGS
-D
HAVE_INT_8_16_32 -D
UNDEF_HAVE_INITGROUPS"
CFLAGS
=
"
$CFLAGS
-DUNDEF_HAVE_INITGROUPS"
CXXFLAGS
=
"
$CXXFLAGS
-D
HAVE_INT_8_16_32 -D
UNDEF_HAVE_INITGROUPS"
CXXFLAGS
=
"
$CXXFLAGS
-DUNDEF_HAVE_INITGROUPS"
;;
;;
esac
esac
...
...
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