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
13ecd694
Commit
13ecd694
authored
Jul 27, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid functions in configure
parent
b9512a55
Changes
1
Show 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 @
13ecd694
...
...
@@ -936,17 +936,15 @@ esac
MAX_C_OPTIMIZE
=
"-O3"
MAX_CXX_OPTIMIZE
=
"-O3"
fix_for_forte_x86
()
{
case
$MACHINE_TYPE
-
$ac_cv_prog_gcc
in
i?86-no
)
# workaround for Sun Forte/x86 see BUG#4681
# workaround for Sun Forte/x86 see BUG#4681
case
$SYSTEM_TYPE
-
$MACHINE_TYPE
-
$ac_cv_prog_gcc
in
*
solaris
*
-i
?86-no
)
CFLAGS
=
"
$CFLAGS
-DBIG_FILES"
CXXFLAGS
=
"
$CXXFLAGS
-DBIG_FILES"
;;
*
)
;;
esac
}
esac
case
$SYSTEM_TYPE
in
*
solaris2.7
*
)
...
...
@@ -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
CFLAGS
=
"
$CFLAGS
-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
*
)
# Solaris 2.8 has a broken /usr/include/widec.h
...
...
@@ -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
CFLAGS
=
"
$CFLAGS
-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
*
)
echo
"Enabling getpass() workaround for Solaris 2.5.1"
CFLAGS
=
"
$CFLAGS
-DHAVE_BROKEN_GETPASS -DSOLARIS -DHAVE_RWLOCK_T"
;
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_RWLOCK_T -DSOLARIS"
fix_for_forte_x86
;;
*
solaris
*
)
CFLAGS
=
"
$CFLAGS
-DHAVE_RWLOCK_T"
CXXFLAGS
=
"
$CXXFLAGS
-DHAVE_RWLOCK_T"
fix_for_forte_x86
;;
*
SunOS
*
)
echo
"Enabling getpass() workaround for SunOS"
CFLAGS
=
"
$CFLAGS
-DHAVE_BROKEN_GETPASS -DSOLARIS"
;
fix_for_forte_x86
;;
*
hpux10.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