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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9f4e72ec
Commit
9f4e72ec
authored
Jul 27, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
parents
1b7334c4
13ecd694
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
16 deletions
+9
-16
configure.in
configure.in
+9
-16
No files found.
configure.in
View file @
9f4e72ec
...
@@ -936,17 +936,15 @@ esac
...
@@ -936,17 +936,15 @@ esac
MAX_C_OPTIMIZE
=
"-O3"
MAX_C_OPTIMIZE
=
"-O3"
MAX_CXX_OPTIMIZE
=
"-O3"
MAX_CXX_OPTIMIZE
=
"-O3"
fix_for_forte_x86
()
# workaround for Sun Forte/x86 see BUG#4681
{
case
$SYSTEM_TYPE
-
$MACHINE_TYPE
-
$ac_cv_prog_gcc
in
case
$MACHINE_TYPE
-
$ac_cv_prog_gcc
in
*
solaris
*
-i
?86-no
)
i?86-no
)
CFLAGS
=
"
$CFLAGS
-DBIG_FILES"
# workaround for Sun Forte/x86 see BUG#4681
CXXFLAGS
=
"
$CXXFLAGS
-DBIG_FILES"
CFLAGS
=
"
$CFLAGS
-DBIG_FILES"
;;
CXXFLAGS
=
"
$CXXFLAGS
-DBIG_FILES"
*
)
;;
;;
esac
*
)
;;
esac
}
case
$SYSTEM_TYPE
in
case
$SYSTEM_TYPE
in
*
solaris2.7
*
)
*
solaris2.7
*
)
...
@@ -962,7 +960,6 @@ case $SYSTEM_TYPE in
...
@@ -962,7 +960,6 @@ case $SYSTEM_TYPE in
sed
-e
"s|^#if[ ]*!defined(lint) && !defined(__lint)|#if !defined
\(
lint
\)
\&\&
!defined
\(
__lint
\)
\&\&
!defined
\(
getwc
\)
|"
< /usr/include/widec.h
>
include/widec.h
sed
-e
"s|^#if[ ]*!defined(lint) && !defined(__lint)|#if !defined
\(
lint
\)
\&\&
!defined
\(
__lint
\)
\&\&
!defined
\(
getwc
\)
|"
< /usr/include/widec.h
>
include/widec.h
CFLAGS
=
"
$CFLAGS
-DHAVE_CURSES_H -I
$builddir
/include -DHAVE_RWLOCK_T"
CFLAGS
=
"
$CFLAGS
-DHAVE_CURSES_H -I
$builddir
/include -DHAVE_RWLOCK_T"
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_CURSES_H -I
$builddir
/include -DHAVE_RWLOCK_T"
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_CURSES_H -I
$builddir
/include -DHAVE_RWLOCK_T"
fix_for_forte_x86
;;
;;
*
solaris2.8
*
)
*
solaris2.8
*
)
# Solaris 2.8 has a broken /usr/include/widec.h
# Solaris 2.8 has a broken /usr/include/widec.h
...
@@ -977,23 +974,19 @@ case $SYSTEM_TYPE in
...
@@ -977,23 +974,19 @@ case $SYSTEM_TYPE in
sed
-e
"s|^#if[ ]*!defined(__lint)|#if !defined
\(
__lint
\)
\&\&
!defined
\(
getwc
\)
|"
< /usr/include/widec.h
>
include/widec.h
sed
-e
"s|^#if[ ]*!defined(__lint)|#if !defined
\(
__lint
\)
\&\&
!defined
\(
getwc
\)
|"
< /usr/include/widec.h
>
include/widec.h
CFLAGS
=
"
$CFLAGS
-DHAVE_CURSES_H -I
$builddir
/include -DHAVE_RWLOCK_T"
CFLAGS
=
"
$CFLAGS
-DHAVE_CURSES_H -I
$builddir
/include -DHAVE_RWLOCK_T"
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_CURSES_H -I
$builddir
/include -DHAVE_RWLOCK_T"
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_CURSES_H -I
$builddir
/include -DHAVE_RWLOCK_T"
fix_for_forte_x86
;;
;;
*
solaris2.5.1
*
)
*
solaris2.5.1
*
)
echo
"Enabling getpass() workaround for Solaris 2.5.1"
echo
"Enabling getpass() workaround for Solaris 2.5.1"
CFLAGS
=
"
$CFLAGS
-DHAVE_BROKEN_GETPASS -DSOLARIS -DHAVE_RWLOCK_T"
;
CFLAGS
=
"
$CFLAGS
-DHAVE_BROKEN_GETPASS -DSOLARIS -DHAVE_RWLOCK_T"
;
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_RWLOCK_T -DSOLARIS"
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_RWLOCK_T -DSOLARIS"
fix_for_forte_x86
;;
;;
*
solaris
*
)
*
solaris
*
)
CFLAGS
=
"
$CFLAGS
-DHAVE_RWLOCK_T"
CFLAGS
=
"
$CFLAGS
-DHAVE_RWLOCK_T"
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_RWLOCK_T"
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_RWLOCK_T"
fix_for_forte_x86
;;
;;
*
SunOS
*
)
*
SunOS
*
)
echo
"Enabling getpass() workaround for SunOS"
echo
"Enabling getpass() workaround for SunOS"
CFLAGS
=
"
$CFLAGS
-DHAVE_BROKEN_GETPASS -DSOLARIS"
;
CFLAGS
=
"
$CFLAGS
-DHAVE_BROKEN_GETPASS -DSOLARIS"
;
fix_for_forte_x86
;;
;;
*
hpux10.20
*
)
*
hpux10.20
*
)
echo
"Enabling workarounds for hpux 10.20"
echo
"Enabling workarounds for hpux 10.20"
...
...
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