~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
CHARSETS_COMPLEX="big5 cp1250 cp932 eucjpms euckr gb2312 gbk latin1 latin2 sjis tis620 ucs2 ujis utf8"
17
17
 
18
18
# Guess values for system-dependent variables and create Makefiles.
19
 
# Generated by GNU Autoconf 2.63 for MySQL Server 5.1.49.
 
19
# Generated by GNU Autoconf 2.63 for MySQL Server 5.1.61.
20
20
#
21
21
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
22
22
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
759
759
# Identity of this package.
760
760
PACKAGE_NAME='MySQL Server'
761
761
PACKAGE_TARNAME='mysql'
762
 
PACKAGE_VERSION='5.1.49'
763
 
PACKAGE_STRING='MySQL Server 5.1.49'
 
762
PACKAGE_VERSION='5.1.61'
 
763
PACKAGE_STRING='MySQL Server 5.1.61'
764
764
PACKAGE_BUGREPORT=''
765
765
 
766
766
ac_unique_file="sql/mysqld.cc"
805
805
LIBOBJS
806
806
MAKE_BINARY_DISTRIBUTION_OPTIONS
807
807
GXX
 
808
AM_CXXFLAGS
 
809
AM_CFLAGS
808
810
sql_union_dirs
809
811
mysql_plugin_defs
810
812
mysql_plugin_libs
886
888
plugin_innodb_plugin_shared_target
887
889
plugin_innobase_static_target
888
890
plugin_innobase_shared_target
889
 
plugin_ibmdb2i_static_target
890
 
plugin_ibmdb2i_shared_target
891
891
plugin_heap_shared_target
892
892
plugin_heap_static_target
893
893
plugin_federated_static_target
926
926
CLIENT_EXTRA_LDFLAGS
927
927
MYSQLD_EXTRA_LDFLAGS
928
928
LIBDL
929
 
pstack_libs
930
 
pstack_dir
931
929
WRAPLIBS
932
930
ZLIB_INCLUDES
933
931
ZLIB_DEPS
1140
1138
with_extra_charsets
1141
1139
with_uca
1142
1140
with_experimental_collations
 
1141
with_debug
 
1142
enable_mysql_maintainer_mode
1143
1143
with_system_type
1144
1144
with_machine_type
1145
1145
with_darwin_mwcc
1160
1160
enable_largefile
1161
1161
with_zlib_dir
1162
1162
with_libwrap
1163
 
with_pstack
1164
 
with_debug
1165
1163
with_valgrind
1166
1164
enable_debug_sync
1167
1165
with_error_inject
1763
1761
  # Omit some internal or obsolete options to make the list less imposing.
1764
1762
  # This message is too long to be a string in the A/UX 3.1 sh.
1765
1763
  cat <<_ACEOF
1766
 
\`configure' configures MySQL Server 5.1.49 to adapt to many kinds of systems.
 
1764
\`configure' configures MySQL Server 5.1.61 to adapt to many kinds of systems.
1767
1765
 
1768
1766
Usage: $0 [OPTION]... [VAR=VALUE]...
1769
1767
 
1834
1832
 
1835
1833
if test -n "$ac_init_help"; then
1836
1834
  case $ac_init_help in
1837
 
     short | recursive ) echo "Configuration of MySQL Server 5.1.49:";;
 
1835
     short | recursive ) echo "Configuration of MySQL Server 5.1.61:";;
1838
1836
   esac
1839
1837
  cat <<\_ACEOF
1840
1838
 
1849
1847
  --disable-dependency-tracking  speeds up one-time build
1850
1848
  --enable-dependency-tracking   do not reject slow dependency extractors
1851
1849
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1850
  --enable-mysql-maintainer-mode
 
1851
                          Enable a MySQL maintainer-specific development
 
1852
                          environment
1852
1853
  --disable-community-features
1853
1854
                          Disable additional features provided by the user
1854
1855
                          community.
1884
1885
                          all, or a list selected from the above sets)
1885
1886
  --without-uca           Skip building of the national Unicode collations.
1886
1887
 
 
1888
  --with-debug[=full]     Enable various amounts of debugging support (full
 
1889
                          adds a slow memory checker).
1887
1890
  --with-system-type      Set the system type, like "sun-solaris10"
1888
1891
  --with-machine-type     Set the machine type, like "powerpc"
1889
1892
  --with-darwin-mwcc      Use Metrowerks CodeWarrior wrappers on OS X/Darwin
1912
1915
                          library. Given DIR, zlib binary is assumed to be in
1913
1916
                          $DIR/lib and header files in $DIR/include.
1914
1917
  --with-libwrap=DIR      Compile in libwrap (tcp_wrappers) support
1915
 
  --with-pstack           Use the pstack backtrace library
1916
 
  --with-debug            Add debug code
1917
 
  --with-debug=full       Add debug code (adds memory checker, very slow)
1918
1918
  --with-valgrind         Valgrind instrumentation [default=no]
1919
1919
  --with-error-inject     Enable error injection in MySQL Server
1920
1920
  --with-fast-mutexes     Compile with fast mutexes (default is disabled)
1942
1942
                          all.
1943
1943
                          Available plugins are: partition daemon_example
1944
1944
                          ftexample archive blackhole csv example federated
1945
 
                          heap ibmdb2i innobase innodb_plugin myisam myisammrg
 
1945
                          heap innobase innodb_plugin myisam myisammrg
1946
1946
                          ndbcluster.
1947
1947
  --without-plugin-PLUGIN Disable the named plugin from being built.
1948
1948
                          Otherwise, for plugins which are not selected for
2053
2053
  Supports build:   static
2054
2054
  Status:           mandatory
2055
2055
 
2056
 
   === IBM DB2 for i Storage Engine ===
2057
 
  Plugin Name:      ibmdb2i
2058
 
  Description:      IBM DB2 for i Storage Engine
2059
 
  Supports build:   dynamic
2060
 
  Configurations:   max, max-no-ndb
2061
 
 
2062
2056
   === InnoDB Storage Engine ===
2063
2057
  Plugin Name:      innobase
2064
2058
  Description:      Transactional Tables using InnoDB
2152
2146
test -n "$ac_init_help" && exit $ac_status
2153
2147
if $ac_init_version; then
2154
2148
  cat <<\_ACEOF
2155
 
MySQL Server configure 5.1.49
 
2149
MySQL Server configure 5.1.61
2156
2150
generated by GNU Autoconf 2.63
2157
2151
 
2158
2152
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2166
2160
This file contains any messages produced by compilers while
2167
2161
running configure, to aid debugging if configure makes a mistake.
2168
2162
 
2169
 
It was created by MySQL Server $as_me 5.1.49, which was
 
2163
It was created by MySQL Server $as_me 5.1.61, which was
2170
2164
generated by GNU Autoconf 2.63.  Invocation command line was
2171
2165
 
2172
2166
  $ $0 $@
3014
3008
 
3015
3009
# Define the identity of the package.
3016
3010
 PACKAGE='mysql'
3017
 
 VERSION='5.1.49'
 
3011
 VERSION='5.1.61'
3018
3012
 
3019
3013
 
3020
3014
cat >>confdefs.h <<_ACEOF
4959
4953
else
4960
4954
  lt_cv_nm_interface="BSD nm"
4961
4955
  echo "int some_variable = 0;" > conftest.$ac_ext
4962
 
  (eval echo "\"\$as_me:4962: $ac_compile\"" >&5)
 
4956
  (eval echo "\"\$as_me:4956: $ac_compile\"" >&5)
4963
4957
  (eval "$ac_compile" 2>conftest.err)
4964
4958
  cat conftest.err >&5
4965
 
  (eval echo "\"\$as_me:4965: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4959
  (eval echo "\"\$as_me:4959: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4966
4960
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4967
4961
  cat conftest.err >&5
4968
 
  (eval echo "\"\$as_me:4968: output\"" >&5)
 
4962
  (eval echo "\"\$as_me:4962: output\"" >&5)
4969
4963
  cat conftest.out >&5
4970
4964
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4971
4965
    lt_cv_nm_interface="MS dumpbin"
6171
6165
  ;;
6172
6166
*-*-irix6*)
6173
6167
  # Find out which ABI we are using.
6174
 
  echo '#line 6174 "configure"' > conftest.$ac_ext
 
6168
  echo '#line 6168 "configure"' > conftest.$ac_ext
6175
6169
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176
6170
  (eval $ac_compile) 2>&5
6177
6171
  ac_status=$?
8024
8018
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8025
8019
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8026
8020
   -e 's:$: $lt_compiler_flag:'`
8027
 
   (eval echo "\"\$as_me:8027: $lt_compile\"" >&5)
 
8021
   (eval echo "\"\$as_me:8021: $lt_compile\"" >&5)
8028
8022
   (eval "$lt_compile" 2>conftest.err)
8029
8023
   ac_status=$?
8030
8024
   cat conftest.err >&5
8031
 
   echo "$as_me:8031: \$? = $ac_status" >&5
 
8025
   echo "$as_me:8025: \$? = $ac_status" >&5
8032
8026
   if (exit $ac_status) && test -s "$ac_outfile"; then
8033
8027
     # The compiler can only warn and ignore the option if not recognized
8034
8028
     # So say no if there are warnings other than the usual output.
8363
8357
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8364
8358
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8365
8359
   -e 's:$: $lt_compiler_flag:'`
8366
 
   (eval echo "\"\$as_me:8366: $lt_compile\"" >&5)
 
8360
   (eval echo "\"\$as_me:8360: $lt_compile\"" >&5)
8367
8361
   (eval "$lt_compile" 2>conftest.err)
8368
8362
   ac_status=$?
8369
8363
   cat conftest.err >&5
8370
 
   echo "$as_me:8370: \$? = $ac_status" >&5
 
8364
   echo "$as_me:8364: \$? = $ac_status" >&5
8371
8365
   if (exit $ac_status) && test -s "$ac_outfile"; then
8372
8366
     # The compiler can only warn and ignore the option if not recognized
8373
8367
     # So say no if there are warnings other than the usual output.
8468
8462
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8469
8463
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8470
8464
   -e 's:$: $lt_compiler_flag:'`
8471
 
   (eval echo "\"\$as_me:8471: $lt_compile\"" >&5)
 
8465
   (eval echo "\"\$as_me:8465: $lt_compile\"" >&5)
8472
8466
   (eval "$lt_compile" 2>out/conftest.err)
8473
8467
   ac_status=$?
8474
8468
   cat out/conftest.err >&5
8475
 
   echo "$as_me:8475: \$? = $ac_status" >&5
 
8469
   echo "$as_me:8469: \$? = $ac_status" >&5
8476
8470
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8477
8471
   then
8478
8472
     # The compiler can only warn and ignore the option if not recognized
8523
8517
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8524
8518
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8525
8519
   -e 's:$: $lt_compiler_flag:'`
8526
 
   (eval echo "\"\$as_me:8526: $lt_compile\"" >&5)
 
8520
   (eval echo "\"\$as_me:8520: $lt_compile\"" >&5)
8527
8521
   (eval "$lt_compile" 2>out/conftest.err)
8528
8522
   ac_status=$?
8529
8523
   cat out/conftest.err >&5
8530
 
   echo "$as_me:8530: \$? = $ac_status" >&5
 
8524
   echo "$as_me:8524: \$? = $ac_status" >&5
8531
8525
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8532
8526
   then
8533
8527
     # The compiler can only warn and ignore the option if not recognized
11323
11317
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11324
11318
  lt_status=$lt_dlunknown
11325
11319
  cat > conftest.$ac_ext <<_LT_EOF
11326
 
#line 11326 "configure"
 
11320
#line 11320 "configure"
11327
11321
#include "confdefs.h"
11328
11322
 
11329
11323
#if HAVE_DLFCN_H
11419
11413
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11420
11414
  lt_status=$lt_dlunknown
11421
11415
  cat > conftest.$ac_ext <<_LT_EOF
11422
 
#line 11422 "configure"
 
11416
#line 11416 "configure"
11423
11417
#include "confdefs.h"
11424
11418
 
11425
11419
#if HAVE_DLFCN_H
11690
11684
MYSQL_TCP_PORT_DEFAULT=3306
11691
11685
MYSQL_UNIX_ADDR_DEFAULT="/tmp/mysql.sock"
11692
11686
 
 
11687
#
 
11688
# Control aspects of the development environment which are
 
11689
# specific to MySQL maintainers and developers.
 
11690
#
 
11691
 
 
11692
 
 
11693
# Set warning options required under maintainer mode.
 
11694
 
 
11695
 
 
11696
 
 
11697
# Set compiler flags required under maintainer mode.
 
11698
 
 
11699
 
11693
11700
 
11694
11701
 
11695
11702
 
12846
12853
 
12847
12854
 
12848
12855
 
 
12856
# Check whether a debug mode should be enabled.
 
12857
 
 
12858
# Check whether --with-debug was given.
 
12859
if test "${with_debug+set}" = set; then
 
12860
  withval=$with_debug; with_debug=$withval
 
12861
else
 
12862
  with_debug=no
 
12863
fi
 
12864
 
 
12865
 
 
12866
# Whether the maintainer mode should be enabled.
 
12867
 
 
12868
  { $as_echo "$as_me:$LINENO: checking whether to enable the maintainer-specific development environment" >&5
 
12869
$as_echo_n "checking whether to enable the maintainer-specific development environment... " >&6; }
 
12870
  # Check whether --enable-mysql-maintainer-mode was given.
 
12871
if test "${enable_mysql_maintainer_mode+set}" = set; then
 
12872
  enableval=$enable_mysql_maintainer_mode; USE_MYSQL_MAINTAINER_MODE=$enableval
 
12873
else
 
12874
  if test "$with_debug" != "no"; then
 
12875
  USE_MYSQL_MAINTAINER_MODE=yes
 
12876
else
 
12877
  USE_MYSQL_MAINTAINER_MODE=no
 
12878
fi
 
12879
 
 
12880
fi
 
12881
 
 
12882
  { $as_echo "$as_me:$LINENO: result: $USE_MYSQL_MAINTAINER_MODE" >&5
 
12883
$as_echo "$USE_MYSQL_MAINTAINER_MODE" >&6; }
 
12884
 
12849
12885
 
12850
12886
# Canonicalize the configuration name.
12851
12887
 
16890
16926
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16891
16927
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16892
16928
   -e 's:$: $lt_compiler_flag:'`
16893
 
   (eval echo "\"\$as_me:16893: $lt_compile\"" >&5)
 
16929
   (eval echo "\"\$as_me:16929: $lt_compile\"" >&5)
16894
16930
   (eval "$lt_compile" 2>conftest.err)
16895
16931
   ac_status=$?
16896
16932
   cat conftest.err >&5
16897
 
   echo "$as_me:16897: \$? = $ac_status" >&5
 
16933
   echo "$as_me:16933: \$? = $ac_status" >&5
16898
16934
   if (exit $ac_status) && test -s "$ac_outfile"; then
16899
16935
     # The compiler can only warn and ignore the option if not recognized
16900
16936
     # So say no if there are warnings other than the usual output.
16989
17025
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16990
17026
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16991
17027
   -e 's:$: $lt_compiler_flag:'`
16992
 
   (eval echo "\"\$as_me:16992: $lt_compile\"" >&5)
 
17028
   (eval echo "\"\$as_me:17028: $lt_compile\"" >&5)
16993
17029
   (eval "$lt_compile" 2>out/conftest.err)
16994
17030
   ac_status=$?
16995
17031
   cat out/conftest.err >&5
16996
 
   echo "$as_me:16996: \$? = $ac_status" >&5
 
17032
   echo "$as_me:17032: \$? = $ac_status" >&5
16997
17033
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16998
17034
   then
16999
17035
     # The compiler can only warn and ignore the option if not recognized
17041
17077
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17042
17078
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17043
17079
   -e 's:$: $lt_compiler_flag:'`
17044
 
   (eval echo "\"\$as_me:17044: $lt_compile\"" >&5)
 
17080
   (eval echo "\"\$as_me:17080: $lt_compile\"" >&5)
17045
17081
   (eval "$lt_compile" 2>out/conftest.err)
17046
17082
   ac_status=$?
17047
17083
   cat out/conftest.err >&5
17048
 
   echo "$as_me:17048: \$? = $ac_status" >&5
 
17084
   echo "$as_me:17084: \$? = $ac_status" >&5
17049
17085
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17050
17086
   then
17051
17087
     # The compiler can only warn and ignore the option if not recognized
18673
18709
 
18674
18710
 
18675
18711
 
18676
 
#check the return type of sprintf
18677
 
{ $as_echo "$as_me:$LINENO: checking \"return type of sprintf\"" >&5
18678
 
$as_echo_n "checking \"return type of sprintf\"... " >&6; }
18679
 
if test "$cross_compiling" = yes; then
18680
 
  # Cross compile, assume POSIX
18681
 
 
18682
 
cat >>confdefs.h <<\_ACEOF
18683
 
#define SPRINTF_RETURNS_INT 1
18684
 
_ACEOF
18685
 
 
18686
 
    { $as_echo "$as_me:$LINENO: result: \"int (we assume)\"" >&5
18687
 
$as_echo "\"int (we assume)\"" >&6; }
18688
 
 
18689
 
else
18690
 
  cat >conftest.$ac_ext <<_ACEOF
18691
 
/* confdefs.h.  */
18692
 
_ACEOF
18693
 
cat confdefs.h >>conftest.$ac_ext
18694
 
cat >>conftest.$ac_ext <<_ACEOF
18695
 
/* end confdefs.h.  */
18696
 
 
18697
 
  int main()
18698
 
    {
18699
 
      char* s = "hello";
18700
 
      char buf[6];
18701
 
      if((int)sprintf(buf, s) == strlen(s))
18702
 
        return 0;
18703
 
 
18704
 
      return -1;
18705
 
     }
18706
 
 
18707
 
_ACEOF
18708
 
rm -f conftest$ac_exeext
18709
 
if { (ac_try="$ac_link"
18710
 
case "(($ac_try" in
18711
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18712
 
  *) ac_try_echo=$ac_try;;
18713
 
esac
18714
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18715
 
$as_echo "$ac_try_echo") >&5
18716
 
  (eval "$ac_link") 2>&5
18717
 
  ac_status=$?
18718
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18720
 
  { (case "(($ac_try" in
18721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18722
 
  *) ac_try_echo=$ac_try;;
18723
 
esac
18724
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18725
 
$as_echo "$ac_try_echo") >&5
18726
 
  (eval "$ac_try") 2>&5
18727
 
  ac_status=$?
18728
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729
 
  (exit $ac_status); }; }; then
18730
 
 
18731
 
cat >>confdefs.h <<\_ACEOF
18732
 
#define SPRINTF_RETURNS_INT 1
18733
 
_ACEOF
18734
 
 
18735
 
   { $as_echo "$as_me:$LINENO: result: \"int\"" >&5
18736
 
$as_echo "\"int\"" >&6; }
18737
 
else
18738
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
18739
 
$as_echo "$as_me: failed program was:" >&5
18740
 
sed 's/^/| /' conftest.$ac_ext >&5
18741
 
 
18742
 
( exit $ac_status )
18743
 
if test "$cross_compiling" = yes; then
18744
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18745
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18746
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18747
 
See \`config.log' for more details." >&5
18748
 
$as_echo "$as_me: error: cannot run test program while cross compiling
18749
 
See \`config.log' for more details." >&2;}
18750
 
   { (exit 1); exit 1; }; }; }
18751
 
else
18752
 
  cat >conftest.$ac_ext <<_ACEOF
18753
 
/* confdefs.h.  */
18754
 
_ACEOF
18755
 
cat confdefs.h >>conftest.$ac_ext
18756
 
cat >>conftest.$ac_ext <<_ACEOF
18757
 
/* end confdefs.h.  */
18758
 
 
18759
 
 int main()
18760
 
   {
18761
 
     char* s = "hello";
18762
 
     char buf[6];
18763
 
     if((char*)sprintf(buf,s) == buf + strlen(s))
18764
 
       return 0;
18765
 
     return -1;
18766
 
   }
18767
 
_ACEOF
18768
 
rm -f conftest$ac_exeext
18769
 
if { (ac_try="$ac_link"
18770
 
case "(($ac_try" in
18771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772
 
  *) ac_try_echo=$ac_try;;
18773
 
esac
18774
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18775
 
$as_echo "$ac_try_echo") >&5
18776
 
  (eval "$ac_link") 2>&5
18777
 
  ac_status=$?
18778
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18780
 
  { (case "(($ac_try" in
18781
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782
 
  *) ac_try_echo=$ac_try;;
18783
 
esac
18784
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18785
 
$as_echo "$ac_try_echo") >&5
18786
 
  (eval "$ac_try") 2>&5
18787
 
  ac_status=$?
18788
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789
 
  (exit $ac_status); }; }; then
18790
 
 
18791
 
cat >>confdefs.h <<\_ACEOF
18792
 
#define SPRINTF_RETURNS_PTR 1
18793
 
_ACEOF
18794
 
 
18795
 
                { $as_echo "$as_me:$LINENO: result: \"ptr\"" >&5
18796
 
$as_echo "\"ptr\"" >&6; }
18797
 
else
18798
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
18799
 
$as_echo "$as_me: failed program was:" >&5
18800
 
sed 's/^/| /' conftest.$ac_ext >&5
18801
 
 
18802
 
( exit $ac_status )
18803
 
 
18804
 
cat >>confdefs.h <<\_ACEOF
18805
 
#define SPRINTF_RETURNS_GARBAGE 1
18806
 
_ACEOF
18807
 
 
18808
 
                { $as_echo "$as_me:$LINENO: result: \"garbage\"" >&5
18809
 
$as_echo "\"garbage\"" >&6; }
18810
 
 
18811
 
fi
18812
 
rm -rf conftest.dSYM
18813
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18814
 
fi
18815
 
 
18816
 
 
18817
 
fi
18818
 
rm -rf conftest.dSYM
18819
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18820
 
fi
18821
 
 
18822
 
 
18823
 
 
18824
18712
# Extract the first word of "uname", so it can be a program name with args.
18825
18713
set dummy uname; ac_word=$2
18826
18714
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
23337
23225
 
23338
23226
 
23339
23227
 
23340
 
if test "$TARGET_LINUX" = "true"; then
23341
 
 
23342
 
# Check whether --with-pstack was given.
23343
 
if test "${with_pstack+set}" = set; then
23344
 
  withval=$with_pstack;  USE_PSTACK=$withval
23345
 
else
23346
 
   USE_PSTACK=no
23347
 
fi
23348
 
 
23349
 
  pstack_libs=
23350
 
  pstack_dir=
23351
 
  if test "$USE_PSTACK" = yes -a "$TARGET_LINUX" = "true" -a "$BASE_MACHINE_TYPE" = "i386"
23352
 
  then
23353
 
    have_libiberty= have_libbfd=
23354
 
    my_save_LIBS="$LIBS"
23355
 
    { $as_echo "$as_me:$LINENO: checking for fdmatch in -liberty" >&5
23356
 
$as_echo_n "checking for fdmatch in -liberty... " >&6; }
23357
 
if test "${ac_cv_lib_iberty_fdmatch+set}" = set; then
23358
 
  $as_echo_n "(cached) " >&6
23359
 
else
23360
 
  ac_check_lib_save_LIBS=$LIBS
23361
 
LIBS="-liberty  $LIBS"
23362
 
cat >conftest.$ac_ext <<_ACEOF
23363
 
/* confdefs.h.  */
23364
 
_ACEOF
23365
 
cat confdefs.h >>conftest.$ac_ext
23366
 
cat >>conftest.$ac_ext <<_ACEOF
23367
 
/* end confdefs.h.  */
23368
 
 
23369
 
/* Override any GCC internal prototype to avoid an error.
23370
 
   Use char because int might match the return type of a GCC
23371
 
   builtin and then its argument prototype would still apply.  */
23372
 
#ifdef __cplusplus
23373
 
extern "C"
23374
 
#endif
23375
 
char fdmatch ();
23376
 
int
23377
 
main ()
23378
 
{
23379
 
return fdmatch ();
23380
 
  ;
23381
 
  return 0;
23382
 
}
23383
 
_ACEOF
23384
 
rm -f conftest.$ac_objext conftest$ac_exeext
23385
 
if { (ac_try="$ac_link"
23386
 
case "(($ac_try" in
23387
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23388
 
  *) ac_try_echo=$ac_try;;
23389
 
esac
23390
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23391
 
$as_echo "$ac_try_echo") >&5
23392
 
  (eval "$ac_link") 2>conftest.er1
23393
 
  ac_status=$?
23394
 
  grep -v '^ *+' conftest.er1 >conftest.err
23395
 
  rm -f conftest.er1
23396
 
  cat conftest.err >&5
23397
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398
 
  (exit $ac_status); } && {
23399
 
         test -z "$ac_c_werror_flag" ||
23400
 
         test ! -s conftest.err
23401
 
       } && test -s conftest$ac_exeext && {
23402
 
         test "$cross_compiling" = yes ||
23403
 
         $as_test_x conftest$ac_exeext
23404
 
       }; then
23405
 
  ac_cv_lib_iberty_fdmatch=yes
23406
 
else
23407
 
  $as_echo "$as_me: failed program was:" >&5
23408
 
sed 's/^/| /' conftest.$ac_ext >&5
23409
 
 
23410
 
        ac_cv_lib_iberty_fdmatch=no
23411
 
fi
23412
 
 
23413
 
rm -rf conftest.dSYM
23414
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23415
 
      conftest$ac_exeext conftest.$ac_ext
23416
 
LIBS=$ac_check_lib_save_LIBS
23417
 
fi
23418
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_fdmatch" >&5
23419
 
$as_echo "$ac_cv_lib_iberty_fdmatch" >&6; }
23420
 
if test "x$ac_cv_lib_iberty_fdmatch" = x""yes; then
23421
 
  have_libiberty=yes
23422
 
       { $as_echo "$as_me:$LINENO: checking for bfd_openr in -lbfd" >&5
23423
 
$as_echo_n "checking for bfd_openr in -lbfd... " >&6; }
23424
 
if test "${ac_cv_lib_bfd_bfd_openr+set}" = set; then
23425
 
  $as_echo_n "(cached) " >&6
23426
 
else
23427
 
  ac_check_lib_save_LIBS=$LIBS
23428
 
LIBS="-lbfd -liberty $LIBS"
23429
 
cat >conftest.$ac_ext <<_ACEOF
23430
 
/* confdefs.h.  */
23431
 
_ACEOF
23432
 
cat confdefs.h >>conftest.$ac_ext
23433
 
cat >>conftest.$ac_ext <<_ACEOF
23434
 
/* end confdefs.h.  */
23435
 
 
23436
 
/* Override any GCC internal prototype to avoid an error.
23437
 
   Use char because int might match the return type of a GCC
23438
 
   builtin and then its argument prototype would still apply.  */
23439
 
#ifdef __cplusplus
23440
 
extern "C"
23441
 
#endif
23442
 
char bfd_openr ();
23443
 
int
23444
 
main ()
23445
 
{
23446
 
return bfd_openr ();
23447
 
  ;
23448
 
  return 0;
23449
 
}
23450
 
_ACEOF
23451
 
rm -f conftest.$ac_objext conftest$ac_exeext
23452
 
if { (ac_try="$ac_link"
23453
 
case "(($ac_try" in
23454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455
 
  *) ac_try_echo=$ac_try;;
23456
 
esac
23457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23458
 
$as_echo "$ac_try_echo") >&5
23459
 
  (eval "$ac_link") 2>conftest.er1
23460
 
  ac_status=$?
23461
 
  grep -v '^ *+' conftest.er1 >conftest.err
23462
 
  rm -f conftest.er1
23463
 
  cat conftest.err >&5
23464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465
 
  (exit $ac_status); } && {
23466
 
         test -z "$ac_c_werror_flag" ||
23467
 
         test ! -s conftest.err
23468
 
       } && test -s conftest$ac_exeext && {
23469
 
         test "$cross_compiling" = yes ||
23470
 
         $as_test_x conftest$ac_exeext
23471
 
       }; then
23472
 
  ac_cv_lib_bfd_bfd_openr=yes
23473
 
else
23474
 
  $as_echo "$as_me: failed program was:" >&5
23475
 
sed 's/^/| /' conftest.$ac_ext >&5
23476
 
 
23477
 
        ac_cv_lib_bfd_bfd_openr=no
23478
 
fi
23479
 
 
23480
 
rm -rf conftest.dSYM
23481
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23482
 
      conftest$ac_exeext conftest.$ac_ext
23483
 
LIBS=$ac_check_lib_save_LIBS
23484
 
fi
23485
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_openr" >&5
23486
 
$as_echo "$ac_cv_lib_bfd_bfd_openr" >&6; }
23487
 
if test "x$ac_cv_lib_bfd_bfd_openr" = x""yes; then
23488
 
  have_libbfd=yes
23489
 
fi
23490
 
 
23491
 
fi
23492
 
 
23493
 
    LIBS="$my_save_LIBS"
23494
 
 
23495
 
    if test x"$have_libiberty" = xyes -a x"$have_libbfd" = xyes
23496
 
    then
23497
 
      pstack_dir="pstack"
23498
 
      pstack_libs="../pstack/libpstack.a -lbfd -liberty"
23499
 
      # We must link staticly when using pstack
23500
 
      with_mysqld_ldflags="-all-static"
23501
 
 
23502
 
 
23503
 
 
23504
 
cat >>confdefs.h <<\_ACEOF
23505
 
#define USE_PSTACK 1
23506
 
_ACEOF
23507
 
 
23508
 
    else
23509
 
      USE_PSTACK="no"
23510
 
    fi
23511
 
  else
23512
 
    USE_PSTACK="no"
23513
 
  fi
23514
 
fi
23515
 
{ $as_echo "$as_me:$LINENO: checking if we should use pstack" >&5
23516
 
$as_echo_n "checking if we should use pstack... " >&6; }
23517
 
{ $as_echo "$as_me:$LINENO: result: $USE_PSTACK" >&5
23518
 
$as_echo "$USE_PSTACK" >&6; }
23519
 
 
23520
23228
# Check for gtty if termio.h doesn't exists
23521
23229
if test "$ac_cv_header_termio_h" = "no" -a "$ac_cv_header_termios_h" = "no"
23522
23230
then
25249
24957
        sql/Makefile.in)
25250
24958
          # Use gen_lex_hash.linux instead of gen_lex_hash
25251
24959
          # Add library dependencies to mysqld_DEPENDENCIES
25252
 
          lib_DEPENDENCIES="\$(pstack_libs) \$(openssl_libs) \$(yassl_libs)"
 
24960
          lib_DEPENDENCIES="\$(openssl_libs) \$(yassl_libs)"
25253
24961
          cat > $filesed << EOF
25254
24962
s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux,
25255
24963
s%\(mysqld_DEPENDENCIES = \)%\1$lib_DEPENDENCIES %
26732
26440
  DEBUG_OPTIMIZE_CXX=""
26733
26441
fi
26734
26442
 
26735
 
 
26736
 
# Check whether --with-debug was given.
26737
 
if test "${with_debug+set}" = set; then
26738
 
  withval=$with_debug; with_debug=$withval
26739
 
else
26740
 
  with_debug=no
26741
 
fi
26742
 
 
26743
26443
if test "$with_debug" = "yes"
26744
26444
then
26745
26445
  # Medium debug.
30430
30130
 
30431
30131
 
30432
30132
 
 
30133
# The cast to long int works around a bug in the HP C Compiler
 
30134
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
30135
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
30136
# This bug is HP SR number 8606223364.
 
30137
{ $as_echo "$as_me:$LINENO: checking size of time_t" >&5
 
30138
$as_echo_n "checking size of time_t... " >&6; }
 
30139
if test "${ac_cv_sizeof_time_t+set}" = set; then
 
30140
  $as_echo_n "(cached) " >&6
 
30141
else
 
30142
  if test "$cross_compiling" = yes; then
 
30143
  # Depending upon the size, compute the lo and hi bounds.
 
30144
cat >conftest.$ac_ext <<_ACEOF
 
30145
/* confdefs.h.  */
 
30146
_ACEOF
 
30147
cat confdefs.h >>conftest.$ac_ext
 
30148
cat >>conftest.$ac_ext <<_ACEOF
 
30149
/* end confdefs.h.  */
 
30150
$ac_includes_default
 
30151
int
 
30152
main ()
 
30153
{
 
30154
static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) >= 0)];
 
30155
test_array [0] = 0
 
30156
 
 
30157
  ;
 
30158
  return 0;
 
30159
}
 
30160
_ACEOF
 
30161
rm -f conftest.$ac_objext
 
30162
if { (ac_try="$ac_compile"
 
30163
case "(($ac_try" in
 
30164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30165
  *) ac_try_echo=$ac_try;;
 
30166
esac
 
30167
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
30168
$as_echo "$ac_try_echo") >&5
 
30169
  (eval "$ac_compile") 2>conftest.er1
 
30170
  ac_status=$?
 
30171
  grep -v '^ *+' conftest.er1 >conftest.err
 
30172
  rm -f conftest.er1
 
30173
  cat conftest.err >&5
 
30174
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30175
  (exit $ac_status); } && {
 
30176
         test -z "$ac_c_werror_flag" ||
 
30177
         test ! -s conftest.err
 
30178
       } && test -s conftest.$ac_objext; then
 
30179
  ac_lo=0 ac_mid=0
 
30180
  while :; do
 
30181
    cat >conftest.$ac_ext <<_ACEOF
 
30182
/* confdefs.h.  */
 
30183
_ACEOF
 
30184
cat confdefs.h >>conftest.$ac_ext
 
30185
cat >>conftest.$ac_ext <<_ACEOF
 
30186
/* end confdefs.h.  */
 
30187
$ac_includes_default
 
30188
int
 
30189
main ()
 
30190
{
 
30191
static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= $ac_mid)];
 
30192
test_array [0] = 0
 
30193
 
 
30194
  ;
 
30195
  return 0;
 
30196
}
 
30197
_ACEOF
 
30198
rm -f conftest.$ac_objext
 
30199
if { (ac_try="$ac_compile"
 
30200
case "(($ac_try" in
 
30201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30202
  *) ac_try_echo=$ac_try;;
 
30203
esac
 
30204
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
30205
$as_echo "$ac_try_echo") >&5
 
30206
  (eval "$ac_compile") 2>conftest.er1
 
30207
  ac_status=$?
 
30208
  grep -v '^ *+' conftest.er1 >conftest.err
 
30209
  rm -f conftest.er1
 
30210
  cat conftest.err >&5
 
30211
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30212
  (exit $ac_status); } && {
 
30213
         test -z "$ac_c_werror_flag" ||
 
30214
         test ! -s conftest.err
 
30215
       } && test -s conftest.$ac_objext; then
 
30216
  ac_hi=$ac_mid; break
 
30217
else
 
30218
  $as_echo "$as_me: failed program was:" >&5
 
30219
sed 's/^/| /' conftest.$ac_ext >&5
 
30220
 
 
30221
        ac_lo=`expr $ac_mid + 1`
 
30222
                        if test $ac_lo -le $ac_mid; then
 
30223
                          ac_lo= ac_hi=
 
30224
                          break
 
30225
                        fi
 
30226
                        ac_mid=`expr 2 '*' $ac_mid + 1`
 
30227
fi
 
30228
 
 
30229
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30230
  done
 
30231
else
 
30232
  $as_echo "$as_me: failed program was:" >&5
 
30233
sed 's/^/| /' conftest.$ac_ext >&5
 
30234
 
 
30235
        cat >conftest.$ac_ext <<_ACEOF
 
30236
/* confdefs.h.  */
 
30237
_ACEOF
 
30238
cat confdefs.h >>conftest.$ac_ext
 
30239
cat >>conftest.$ac_ext <<_ACEOF
 
30240
/* end confdefs.h.  */
 
30241
$ac_includes_default
 
30242
int
 
30243
main ()
 
30244
{
 
30245
static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) < 0)];
 
30246
test_array [0] = 0
 
30247
 
 
30248
  ;
 
30249
  return 0;
 
30250
}
 
30251
_ACEOF
 
30252
rm -f conftest.$ac_objext
 
30253
if { (ac_try="$ac_compile"
 
30254
case "(($ac_try" in
 
30255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30256
  *) ac_try_echo=$ac_try;;
 
30257
esac
 
30258
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
30259
$as_echo "$ac_try_echo") >&5
 
30260
  (eval "$ac_compile") 2>conftest.er1
 
30261
  ac_status=$?
 
30262
  grep -v '^ *+' conftest.er1 >conftest.err
 
30263
  rm -f conftest.er1
 
30264
  cat conftest.err >&5
 
30265
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30266
  (exit $ac_status); } && {
 
30267
         test -z "$ac_c_werror_flag" ||
 
30268
         test ! -s conftest.err
 
30269
       } && test -s conftest.$ac_objext; then
 
30270
  ac_hi=-1 ac_mid=-1
 
30271
  while :; do
 
30272
    cat >conftest.$ac_ext <<_ACEOF
 
30273
/* confdefs.h.  */
 
30274
_ACEOF
 
30275
cat confdefs.h >>conftest.$ac_ext
 
30276
cat >>conftest.$ac_ext <<_ACEOF
 
30277
/* end confdefs.h.  */
 
30278
$ac_includes_default
 
30279
int
 
30280
main ()
 
30281
{
 
30282
static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) >= $ac_mid)];
 
30283
test_array [0] = 0
 
30284
 
 
30285
  ;
 
30286
  return 0;
 
30287
}
 
30288
_ACEOF
 
30289
rm -f conftest.$ac_objext
 
30290
if { (ac_try="$ac_compile"
 
30291
case "(($ac_try" in
 
30292
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30293
  *) ac_try_echo=$ac_try;;
 
30294
esac
 
30295
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
30296
$as_echo "$ac_try_echo") >&5
 
30297
  (eval "$ac_compile") 2>conftest.er1
 
30298
  ac_status=$?
 
30299
  grep -v '^ *+' conftest.er1 >conftest.err
 
30300
  rm -f conftest.er1
 
30301
  cat conftest.err >&5
 
30302
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30303
  (exit $ac_status); } && {
 
30304
         test -z "$ac_c_werror_flag" ||
 
30305
         test ! -s conftest.err
 
30306
       } && test -s conftest.$ac_objext; then
 
30307
  ac_lo=$ac_mid; break
 
30308
else
 
30309
  $as_echo "$as_me: failed program was:" >&5
 
30310
sed 's/^/| /' conftest.$ac_ext >&5
 
30311
 
 
30312
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
30313
                        if test $ac_mid -le $ac_hi; then
 
30314
                          ac_lo= ac_hi=
 
30315
                          break
 
30316
                        fi
 
30317
                        ac_mid=`expr 2 '*' $ac_mid`
 
30318
fi
 
30319
 
 
30320
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30321
  done
 
30322
else
 
30323
  $as_echo "$as_me: failed program was:" >&5
 
30324
sed 's/^/| /' conftest.$ac_ext >&5
 
30325
 
 
30326
        ac_lo= ac_hi=
 
30327
fi
 
30328
 
 
30329
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30330
fi
 
30331
 
 
30332
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30333
# Binary search between lo and hi bounds.
 
30334
while test "x$ac_lo" != "x$ac_hi"; do
 
30335
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
30336
  cat >conftest.$ac_ext <<_ACEOF
 
30337
/* confdefs.h.  */
 
30338
_ACEOF
 
30339
cat confdefs.h >>conftest.$ac_ext
 
30340
cat >>conftest.$ac_ext <<_ACEOF
 
30341
/* end confdefs.h.  */
 
30342
$ac_includes_default
 
30343
int
 
30344
main ()
 
30345
{
 
30346
static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= $ac_mid)];
 
30347
test_array [0] = 0
 
30348
 
 
30349
  ;
 
30350
  return 0;
 
30351
}
 
30352
_ACEOF
 
30353
rm -f conftest.$ac_objext
 
30354
if { (ac_try="$ac_compile"
 
30355
case "(($ac_try" in
 
30356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30357
  *) ac_try_echo=$ac_try;;
 
30358
esac
 
30359
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
30360
$as_echo "$ac_try_echo") >&5
 
30361
  (eval "$ac_compile") 2>conftest.er1
 
30362
  ac_status=$?
 
30363
  grep -v '^ *+' conftest.er1 >conftest.err
 
30364
  rm -f conftest.er1
 
30365
  cat conftest.err >&5
 
30366
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30367
  (exit $ac_status); } && {
 
30368
         test -z "$ac_c_werror_flag" ||
 
30369
         test ! -s conftest.err
 
30370
       } && test -s conftest.$ac_objext; then
 
30371
  ac_hi=$ac_mid
 
30372
else
 
30373
  $as_echo "$as_me: failed program was:" >&5
 
30374
sed 's/^/| /' conftest.$ac_ext >&5
 
30375
 
 
30376
        ac_lo=`expr '(' $ac_mid ')' + 1`
 
30377
fi
 
30378
 
 
30379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30380
done
 
30381
case $ac_lo in
 
30382
?*) ac_cv_sizeof_time_t=$ac_lo;;
 
30383
'') if test "$ac_cv_type_time_t" = yes; then
 
30384
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
30385
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
30386
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (time_t)
 
30387
See \`config.log' for more details." >&5
 
30388
$as_echo "$as_me: error: cannot compute sizeof (time_t)
 
30389
See \`config.log' for more details." >&2;}
 
30390
   { (exit 77); exit 77; }; }; }
 
30391
   else
 
30392
     ac_cv_sizeof_time_t=0
 
30393
   fi ;;
 
30394
esac
 
30395
else
 
30396
  cat >conftest.$ac_ext <<_ACEOF
 
30397
/* confdefs.h.  */
 
30398
_ACEOF
 
30399
cat confdefs.h >>conftest.$ac_ext
 
30400
cat >>conftest.$ac_ext <<_ACEOF
 
30401
/* end confdefs.h.  */
 
30402
$ac_includes_default
 
30403
static long int longval () { return (long int) (sizeof (time_t)); }
 
30404
static unsigned long int ulongval () { return (long int) (sizeof (time_t)); }
 
30405
#include <stdio.h>
 
30406
#include <stdlib.h>
 
30407
int
 
30408
main ()
 
30409
{
 
30410
 
 
30411
  FILE *f = fopen ("conftest.val", "w");
 
30412
  if (! f)
 
30413
    return 1;
 
30414
  if (((long int) (sizeof (time_t))) < 0)
 
30415
    {
 
30416
      long int i = longval ();
 
30417
      if (i != ((long int) (sizeof (time_t))))
 
30418
        return 1;
 
30419
      fprintf (f, "%ld", i);
 
30420
    }
 
30421
  else
 
30422
    {
 
30423
      unsigned long int i = ulongval ();
 
30424
      if (i != ((long int) (sizeof (time_t))))
 
30425
        return 1;
 
30426
      fprintf (f, "%lu", i);
 
30427
    }
 
30428
  /* Do not output a trailing newline, as this causes \r\n confusion
 
30429
     on some platforms.  */
 
30430
  return ferror (f) || fclose (f) != 0;
 
30431
 
 
30432
  ;
 
30433
  return 0;
 
30434
}
 
30435
_ACEOF
 
30436
rm -f conftest$ac_exeext
 
30437
if { (ac_try="$ac_link"
 
30438
case "(($ac_try" in
 
30439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30440
  *) ac_try_echo=$ac_try;;
 
30441
esac
 
30442
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
30443
$as_echo "$ac_try_echo") >&5
 
30444
  (eval "$ac_link") 2>&5
 
30445
  ac_status=$?
 
30446
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30447
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
30448
  { (case "(($ac_try" in
 
30449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30450
  *) ac_try_echo=$ac_try;;
 
30451
esac
 
30452
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
30453
$as_echo "$ac_try_echo") >&5
 
30454
  (eval "$ac_try") 2>&5
 
30455
  ac_status=$?
 
30456
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30457
  (exit $ac_status); }; }; then
 
30458
  ac_cv_sizeof_time_t=`cat conftest.val`
 
30459
else
 
30460
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
30461
$as_echo "$as_me: failed program was:" >&5
 
30462
sed 's/^/| /' conftest.$ac_ext >&5
 
30463
 
 
30464
( exit $ac_status )
 
30465
if test "$ac_cv_type_time_t" = yes; then
 
30466
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
30467
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
30468
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (time_t)
 
30469
See \`config.log' for more details." >&5
 
30470
$as_echo "$as_me: error: cannot compute sizeof (time_t)
 
30471
See \`config.log' for more details." >&2;}
 
30472
   { (exit 77); exit 77; }; }; }
 
30473
   else
 
30474
     ac_cv_sizeof_time_t=0
 
30475
   fi
 
30476
fi
 
30477
rm -rf conftest.dSYM
 
30478
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
30479
fi
 
30480
rm -f conftest.val
 
30481
fi
 
30482
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_time_t" >&5
 
30483
$as_echo "$ac_cv_sizeof_time_t" >&6; }
 
30484
 
 
30485
 
 
30486
 
 
30487
cat >>confdefs.h <<_ACEOF
 
30488
#define SIZEOF_TIME_T $ac_cv_sizeof_time_t
 
30489
_ACEOF
 
30490
 
 
30491
 
 
30492
if test "$ac_cv_sizeof_time_t" -eq 0
 
30493
then
 
30494
  { { $as_echo "$as_me:$LINENO: error: \"MySQL needs a time_t type.\"" >&5
 
30495
$as_echo "$as_me: error: \"MySQL needs a time_t type.\"" >&2;}
 
30496
   { (exit 1); exit 1; }; }
 
30497
fi
 
30498
 
30433
30499
# do we need #pragma interface/#pragma implementation ?
30434
30500
# yes if it's gcc 2.x, and not icc pretending to be gcc, and not cygwin
30435
30501
{ $as_echo "$as_me:$LINENO: checking the need for #pragma interface/implementation" >&5
33418
33484
done
33419
33485
 
33420
33486
 
33421
 
for ac_func in issetugid
 
33487
 
 
33488
 
 
33489
 
 
33490
 
 
33491
for ac_func in issetugid getuid geteuid getgid getegid
33422
33492
do
33423
33493
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33424
33494
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
38008
38078
 
38009
38079
 
38010
38080
 
38011
 
 
38012
 
 
38013
 
 
38014
 
 
38015
 
 
38016
 
 
38017
 
 
38018
 
 
38019
 
 
38020
 
 
38021
 
 
38022
 
 
38023
 
 
38024
 
 
38025
 
 
38026
 
 
38027
 
 
38028
 
 
38029
 
 
38030
 
 
38031
 
 
38032
 
 
38033
 
 
38034
 
 
38035
 
 
38036
 
 
38037
 
 
38038
 
 
38039
 
 
38040
 
 
38041
 
 
38042
 
 
38043
 
 
38044
 
 
38045
 
 
38046
 
 
38047
 
 
38048
 
 
38049
 
 
38050
 
 
38051
 
 
38052
 
 
38053
 
 
38054
 
 
38055
 
 
38056
 
 
38057
 
 
38058
 
 
38059
 
 
38060
 
 
38061
 
 
38062
 
 
38063
 
 
38064
 
 
38065
 
 
38066
 
 
38067
 
 
38068
 
 
38069
 
 
38070
 
 
38071
 
 
38072
 
 
38073
 
 
38074
 
 
38075
 
 
38076
 
 
38077
 
 
38078
 
 
38079
 
 
38080
 
 
38081
 
 
38082
 
 
38083
 
 
38084
 
 
38085
 
 
38086
 
 
38087
 
 
38088
 
 
38089
 
 
38090
 
 
38091
 
 
38092
 
 
38093
 
 
38094
 
 
38095
 
 
38096
 
 
38097
 
 
38098
 
 
38099
 
 
38100
 
 
38101
 
 
38102
 
 
38103
 
 
38104
 
 
38105
 
 
38106
 
 
38107
 
 
38108
 
 
38109
 
 
38110
 
 
38111
 
 
38112
 
 
38113
 
for ac_func in alarm bcmp bfill bmove bsearch bzero \
 
38081
{ $as_echo "$as_me:$LINENO: checking whether fdatasync is declared" >&5
 
38082
$as_echo_n "checking whether fdatasync is declared... " >&6; }
 
38083
if test "${ac_cv_have_decl_fdatasync+set}" = set; then
 
38084
  $as_echo_n "(cached) " >&6
 
38085
else
 
38086
  cat >conftest.$ac_ext <<_ACEOF
 
38087
/* confdefs.h.  */
 
38088
_ACEOF
 
38089
cat confdefs.h >>conftest.$ac_ext
 
38090
cat >>conftest.$ac_ext <<_ACEOF
 
38091
/* end confdefs.h.  */
 
38092
$ac_includes_default
 
38093
int
 
38094
main ()
 
38095
{
 
38096
#ifndef fdatasync
 
38097
  (void) fdatasync;
 
38098
#endif
 
38099
 
 
38100
  ;
 
38101
  return 0;
 
38102
}
 
38103
_ACEOF
 
38104
rm -f conftest.$ac_objext
 
38105
if { (ac_try="$ac_compile"
 
38106
case "(($ac_try" in
 
38107
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
38108
  *) ac_try_echo=$ac_try;;
 
38109
esac
 
38110
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
38111
$as_echo "$ac_try_echo") >&5
 
38112
  (eval "$ac_compile") 2>conftest.er1
 
38113
  ac_status=$?
 
38114
  grep -v '^ *+' conftest.er1 >conftest.err
 
38115
  rm -f conftest.er1
 
38116
  cat conftest.err >&5
 
38117
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38118
  (exit $ac_status); } && {
 
38119
         test -z "$ac_c_werror_flag" ||
 
38120
         test ! -s conftest.err
 
38121
       } && test -s conftest.$ac_objext; then
 
38122
  ac_cv_have_decl_fdatasync=yes
 
38123
else
 
38124
  $as_echo "$as_me: failed program was:" >&5
 
38125
sed 's/^/| /' conftest.$ac_ext >&5
 
38126
 
 
38127
        ac_cv_have_decl_fdatasync=no
 
38128
fi
 
38129
 
 
38130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
38131
fi
 
38132
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_fdatasync" >&5
 
38133
$as_echo "$ac_cv_have_decl_fdatasync" >&6; }
 
38134
if test "x$ac_cv_have_decl_fdatasync" = x""yes; then
 
38135
 
 
38136
cat >>confdefs.h <<_ACEOF
 
38137
#define HAVE_DECL_FDATASYNC 1
 
38138
_ACEOF
 
38139
 
 
38140
 
 
38141
else
 
38142
  cat >>confdefs.h <<_ACEOF
 
38143
#define HAVE_DECL_FDATASYNC 0
 
38144
_ACEOF
 
38145
 
 
38146
 
 
38147
fi
 
38148
{ $as_echo "$as_me:$LINENO: checking whether bzero is declared" >&5
 
38149
$as_echo_n "checking whether bzero is declared... " >&6; }
 
38150
if test "${ac_cv_have_decl_bzero+set}" = set; then
 
38151
  $as_echo_n "(cached) " >&6
 
38152
else
 
38153
  cat >conftest.$ac_ext <<_ACEOF
 
38154
/* confdefs.h.  */
 
38155
_ACEOF
 
38156
cat confdefs.h >>conftest.$ac_ext
 
38157
cat >>conftest.$ac_ext <<_ACEOF
 
38158
/* end confdefs.h.  */
 
38159
$ac_includes_default
 
38160
int
 
38161
main ()
 
38162
{
 
38163
#ifndef bzero
 
38164
  (void) bzero;
 
38165
#endif
 
38166
 
 
38167
  ;
 
38168
  return 0;
 
38169
}
 
38170
_ACEOF
 
38171
rm -f conftest.$ac_objext
 
38172
if { (ac_try="$ac_compile"
 
38173
case "(($ac_try" in
 
38174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
38175
  *) ac_try_echo=$ac_try;;
 
38176
esac
 
38177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
38178
$as_echo "$ac_try_echo") >&5
 
38179
  (eval "$ac_compile") 2>conftest.er1
 
38180
  ac_status=$?
 
38181
  grep -v '^ *+' conftest.er1 >conftest.err
 
38182
  rm -f conftest.er1
 
38183
  cat conftest.err >&5
 
38184
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38185
  (exit $ac_status); } && {
 
38186
         test -z "$ac_c_werror_flag" ||
 
38187
         test ! -s conftest.err
 
38188
       } && test -s conftest.$ac_objext; then
 
38189
  ac_cv_have_decl_bzero=yes
 
38190
else
 
38191
  $as_echo "$as_me: failed program was:" >&5
 
38192
sed 's/^/| /' conftest.$ac_ext >&5
 
38193
 
 
38194
        ac_cv_have_decl_bzero=no
 
38195
fi
 
38196
 
 
38197
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
38198
fi
 
38199
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_bzero" >&5
 
38200
$as_echo "$ac_cv_have_decl_bzero" >&6; }
 
38201
if test "x$ac_cv_have_decl_bzero" = x""yes; then
 
38202
 
 
38203
cat >>confdefs.h <<_ACEOF
 
38204
#define HAVE_DECL_BZERO 1
 
38205
_ACEOF
 
38206
 
 
38207
 
 
38208
else
 
38209
  cat >>confdefs.h <<_ACEOF
 
38210
#define HAVE_DECL_BZERO 0
 
38211
_ACEOF
 
38212
 
 
38213
 
 
38214
fi
 
38215
 
 
38216
 
 
38217
 
 
38218
 
 
38219
 
 
38220
 
 
38221
 
 
38222
 
 
38223
 
 
38224
 
 
38225
 
 
38226
 
 
38227
 
 
38228
 
 
38229
 
 
38230
 
 
38231
 
 
38232
 
 
38233
 
 
38234
 
 
38235
 
 
38236
 
 
38237
 
 
38238
 
 
38239
 
 
38240
 
 
38241
 
 
38242
 
 
38243
 
 
38244
 
 
38245
 
 
38246
 
 
38247
 
 
38248
 
 
38249
 
 
38250
 
 
38251
 
 
38252
 
 
38253
 
 
38254
 
 
38255
 
 
38256
 
 
38257
 
 
38258
 
 
38259
 
 
38260
 
 
38261
 
 
38262
 
 
38263
 
 
38264
 
 
38265
 
 
38266
 
 
38267
 
 
38268
 
 
38269
 
 
38270
 
 
38271
 
 
38272
 
 
38273
 
 
38274
 
 
38275
 
 
38276
 
 
38277
 
 
38278
 
 
38279
 
 
38280
 
 
38281
 
 
38282
 
 
38283
 
 
38284
 
 
38285
 
 
38286
 
 
38287
 
 
38288
 
 
38289
 
 
38290
 
 
38291
 
 
38292
 
 
38293
 
 
38294
 
 
38295
 
 
38296
 
 
38297
 
 
38298
 
 
38299
 
 
38300
 
 
38301
 
 
38302
 
 
38303
 
 
38304
 
 
38305
 
 
38306
 
 
38307
 
 
38308
 
 
38309
 
 
38310
 
 
38311
 
 
38312
 
 
38313
 
 
38314
 
 
38315
 
 
38316
 
 
38317
 
 
38318
 
 
38319
 
 
38320
for ac_func in alarm bfill bmove bsearch bzero \
38114
38321
  chsize cuserid fchmod fcntl \
38115
38322
  fconvert fdatasync fesetround finite fpresetsticky fpsetmask fsync ftruncate \
38116
38323
  getcwd gethostbyaddr_r gethostbyname_r getpass getpassphrase getpwnam \
38127
38334
  sighold sigset sigthreadmask port_create sleep \
38128
38335
  snprintf socket stpcpy strcasecmp strerror strsignal strnlen strpbrk strstr \
38129
38336
  strtol strtoll strtoul strtoull tell tempnam thr_setconcurrency vidattr \
38130
 
  posix_fallocate backtrace backtrace_symbols backtrace_symbols_fd printstack
 
38337
  posix_fallocate backtrace backtrace_symbols backtrace_symbols_fd printstack \
 
38338
  fedisableexcept
38131
38339
do
38132
38340
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38133
38341
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
41296
41504
 
41297
41505
 
41298
41506
 
41299
 
if test "${with_ibmdb2i_storage_engine+set}" = set; then
41300
 
  with_plugin_ibmdb2i="$with_ibmdb2i_storage_engine"
41301
 
fi
41302
 
 
41303
 
 
41304
 
 
41305
 
 
41306
 
 
41307
 
 
41308
 
 
41309
 
 
41310
 
 
41311
 
 
41312
 
 
41313
 
 
41314
 
 
41315
 
 
41316
 
if test "${ac_cv_header_qlgusr_h+set}" = set; then
41317
 
  { $as_echo "$as_me:$LINENO: checking for qlgusr.h" >&5
41318
 
$as_echo_n "checking for qlgusr.h... " >&6; }
41319
 
if test "${ac_cv_header_qlgusr_h+set}" = set; then
41320
 
  $as_echo_n "(cached) " >&6
41321
 
fi
41322
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_qlgusr_h" >&5
41323
 
$as_echo "$ac_cv_header_qlgusr_h" >&6; }
41324
 
else
41325
 
  # Is the header compilable?
41326
 
{ $as_echo "$as_me:$LINENO: checking qlgusr.h usability" >&5
41327
 
$as_echo_n "checking qlgusr.h usability... " >&6; }
41328
 
cat >conftest.$ac_ext <<_ACEOF
41329
 
/* confdefs.h.  */
41330
 
_ACEOF
41331
 
cat confdefs.h >>conftest.$ac_ext
41332
 
cat >>conftest.$ac_ext <<_ACEOF
41333
 
/* end confdefs.h.  */
41334
 
$ac_includes_default
41335
 
#include <qlgusr.h>
41336
 
_ACEOF
41337
 
rm -f conftest.$ac_objext
41338
 
if { (ac_try="$ac_compile"
41339
 
case "(($ac_try" in
41340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41341
 
  *) ac_try_echo=$ac_try;;
41342
 
esac
41343
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41344
 
$as_echo "$ac_try_echo") >&5
41345
 
  (eval "$ac_compile") 2>conftest.er1
41346
 
  ac_status=$?
41347
 
  grep -v '^ *+' conftest.er1 >conftest.err
41348
 
  rm -f conftest.er1
41349
 
  cat conftest.err >&5
41350
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351
 
  (exit $ac_status); } && {
41352
 
         test -z "$ac_c_werror_flag" ||
41353
 
         test ! -s conftest.err
41354
 
       } && test -s conftest.$ac_objext; then
41355
 
  ac_header_compiler=yes
41356
 
else
41357
 
  $as_echo "$as_me: failed program was:" >&5
41358
 
sed 's/^/| /' conftest.$ac_ext >&5
41359
 
 
41360
 
        ac_header_compiler=no
41361
 
fi
41362
 
 
41363
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41364
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41365
 
$as_echo "$ac_header_compiler" >&6; }
41366
 
 
41367
 
# Is the header present?
41368
 
{ $as_echo "$as_me:$LINENO: checking qlgusr.h presence" >&5
41369
 
$as_echo_n "checking qlgusr.h presence... " >&6; }
41370
 
cat >conftest.$ac_ext <<_ACEOF
41371
 
/* confdefs.h.  */
41372
 
_ACEOF
41373
 
cat confdefs.h >>conftest.$ac_ext
41374
 
cat >>conftest.$ac_ext <<_ACEOF
41375
 
/* end confdefs.h.  */
41376
 
#include <qlgusr.h>
41377
 
_ACEOF
41378
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
41379
 
case "(($ac_try" in
41380
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41381
 
  *) ac_try_echo=$ac_try;;
41382
 
esac
41383
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41384
 
$as_echo "$ac_try_echo") >&5
41385
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
41386
 
  ac_status=$?
41387
 
  grep -v '^ *+' conftest.er1 >conftest.err
41388
 
  rm -f conftest.er1
41389
 
  cat conftest.err >&5
41390
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391
 
  (exit $ac_status); } >/dev/null && {
41392
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
41393
 
         test ! -s conftest.err
41394
 
       }; then
41395
 
  ac_header_preproc=yes
41396
 
else
41397
 
  $as_echo "$as_me: failed program was:" >&5
41398
 
sed 's/^/| /' conftest.$ac_ext >&5
41399
 
 
41400
 
  ac_header_preproc=no
41401
 
fi
41402
 
 
41403
 
rm -f conftest.err conftest.$ac_ext
41404
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41405
 
$as_echo "$ac_header_preproc" >&6; }
41406
 
 
41407
 
# So?  What about this header?
41408
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41409
 
  yes:no: )
41410
 
    { $as_echo "$as_me:$LINENO: WARNING: qlgusr.h: accepted by the compiler, rejected by the preprocessor!" >&5
41411
 
$as_echo "$as_me: WARNING: qlgusr.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41412
 
    { $as_echo "$as_me:$LINENO: WARNING: qlgusr.h: proceeding with the compiler's result" >&5
41413
 
$as_echo "$as_me: WARNING: qlgusr.h: proceeding with the compiler's result" >&2;}
41414
 
    ac_header_preproc=yes
41415
 
    ;;
41416
 
  no:yes:* )
41417
 
    { $as_echo "$as_me:$LINENO: WARNING: qlgusr.h: present but cannot be compiled" >&5
41418
 
$as_echo "$as_me: WARNING: qlgusr.h: present but cannot be compiled" >&2;}
41419
 
    { $as_echo "$as_me:$LINENO: WARNING: qlgusr.h:     check for missing prerequisite headers?" >&5
41420
 
$as_echo "$as_me: WARNING: qlgusr.h:     check for missing prerequisite headers?" >&2;}
41421
 
    { $as_echo "$as_me:$LINENO: WARNING: qlgusr.h: see the Autoconf documentation" >&5
41422
 
$as_echo "$as_me: WARNING: qlgusr.h: see the Autoconf documentation" >&2;}
41423
 
    { $as_echo "$as_me:$LINENO: WARNING: qlgusr.h:     section \"Present But Cannot Be Compiled\"" >&5
41424
 
$as_echo "$as_me: WARNING: qlgusr.h:     section \"Present But Cannot Be Compiled\"" >&2;}
41425
 
    { $as_echo "$as_me:$LINENO: WARNING: qlgusr.h: proceeding with the preprocessor's result" >&5
41426
 
$as_echo "$as_me: WARNING: qlgusr.h: proceeding with the preprocessor's result" >&2;}
41427
 
    { $as_echo "$as_me:$LINENO: WARNING: qlgusr.h: in the future, the compiler will take precedence" >&5
41428
 
$as_echo "$as_me: WARNING: qlgusr.h: in the future, the compiler will take precedence" >&2;}
41429
 
 
41430
 
    ;;
41431
 
esac
41432
 
{ $as_echo "$as_me:$LINENO: checking for qlgusr.h" >&5
41433
 
$as_echo_n "checking for qlgusr.h... " >&6; }
41434
 
if test "${ac_cv_header_qlgusr_h+set}" = set; then
41435
 
  $as_echo_n "(cached) " >&6
41436
 
else
41437
 
  ac_cv_header_qlgusr_h=$ac_header_preproc
41438
 
fi
41439
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_qlgusr_h" >&5
41440
 
$as_echo "$ac_cv_header_qlgusr_h" >&6; }
41441
 
 
41442
 
fi
41443
 
if test "x$ac_cv_header_qlgusr_h" = x""yes; then
41444
 
  # qlgusr.h is just one of the headers from the i5/OS PASE environment; the
41445
 
        # EBCDIC headers are in /QIBM/include, and have to be converted to ASCII
41446
 
        # before cpp gets to them
41447
 
        :
41448
 
else
41449
 
  # Missing PASE environment, can't build this engine
41450
 
        mysql_plugin_ibmdb2i=no
41451
 
        with_plugin_ibmdb2i=no
41452
 
fi
41453
 
 
41454
 
 
41455
 
 
41456
 
 
41457
 
 
41458
 
 
41459
 
 
41460
 
 
41461
 
 
41462
 
 
41463
 
 
41464
 
 
41465
 
 
41466
 
 
41467
 
 
41468
 
 
41469
 
 
41470
 
 
41471
 
 
41472
 
 
41473
 
 
41474
 
 
41475
 
 
41476
 
 
41477
 
 
41478
 
 
41479
 
 
41480
 
 
41481
 
 
41482
 
 
41483
 
 
41484
 
 
41485
 
 
41486
 
 
41487
 
 
41488
 
 
41489
 
 
41490
 
 
41491
 
 
41492
 
 
41493
 
 
41494
 
 
41495
 
 
41496
 
 
41497
 
 
41498
 
 
41499
 
 
41500
 
 
41501
 
 
41502
 
 
41503
 
 
41504
 
 
41505
 
 
41506
 
 
41507
 
 
41508
 
 
41509
 
 
41510
 
 
41511
 
 
41512
 
 
41513
 
 
41514
 
 
41515
 
 
41516
 
 
41517
 
 
41518
 
 
41519
 
 
41520
 
 
41521
 
 
41522
 
 
41523
 
 
41524
 
 
41525
 
 
41526
 
 
41527
 
 
41528
 
 
41529
 
 
41530
 
 
41531
 
 
41532
 
 
41533
 
 
41534
 
 
41535
 
 
41536
 
 
41537
 
 
41538
 
 
41539
 
 
41540
 
 
41541
 
 
41542
 
 
41543
41507
if test "${with_innodb+set}" = set; then
41544
41508
  with_plugin_innobase="$with_innodb"
41545
41509
fi
41710
41674
 
41711
41675
 
41712
41676
 
 
41677
# Enable if you know what you are doing (trying to link both InnoDB and
 
41678
# InnoDB Plugin statically into MySQL does not work).
 
41679
#MYSQL_PLUGIN_STATIC(innodb_plugin, [libinnobase.a])
41713
41680
 
41714
41681
 
41715
41682
 
42092
42059
 
42093
42060
 
42094
42061
 
42095
 
 
42096
 
 
42097
42062
# Check whether --with-plugins was given.
42098
42063
if test "${with_plugins+set}" = set; then
42099
42064
  withval=$with_plugins; mysql_plugins="`echo $withval | tr ',.:;*' '       '`"
42106
42071
 
42107
42072
  case "$mysql_plugins" in
42108
42073
  all )
42109
 
    mysql_plugins='partition daemon_example ftexample archive blackhole csv example federated heap ibmdb2i innobase innodb_plugin myisam myisammrg ndbcluster'
 
42074
    mysql_plugins='partition daemon_example ftexample archive blackhole csv example federated heap innobase innodb_plugin myisam myisammrg ndbcluster'
42110
42075
    ;;
42111
42076
  none )
42112
42077
    mysql_plugins=''
42115
42080
 
42116
42081
  max )
42117
42082
 
42118
 
    mysql_plugins='partition archive blackhole example federated ibmdb2i innobase innodb_plugin ndbcluster'
 
42083
    mysql_plugins='partition archive blackhole example federated innobase innodb_plugin ndbcluster'
42119
42084
 
42120
42085
    ;;
42121
42086
 
42122
42087
 
42123
42088
  max-no-ndb )
42124
42089
 
42125
 
    mysql_plugins='partition archive blackhole example federated ibmdb2i innobase innodb_plugin'
 
42090
    mysql_plugins='partition archive blackhole example federated innobase innodb_plugin'
42126
42091
 
42127
42092
    ;;
42128
42093
 
42271
42236
 
42272
42237
 
42273
42238
 
42274
 
 
42275
 
 
42276
 
    ibmdb2i )
42277
 
 
42278
 
 
42279
 
 
42280
 
      { $as_echo "$as_me:$LINENO: WARNING: IBM DB2 for i Storage Engine can only be built as a plugin" >&5
42281
 
$as_echo "$as_me: WARNING: IBM DB2 for i Storage Engine can only be built as a plugin" >&2;}
42282
 
 
42283
 
 
42284
 
 
42285
 
      ;;
42286
 
 
42287
 
 
42288
 
 
42289
42239
    innobase )
42290
42240
 
42291
42241
 
42379
42329
 
42380
42330
 
42381
42331
 
42382
 
 
42383
 
 
42384
42332
    * )
42385
42333
      { { $as_echo "$as_me:$LINENO: error: unknown plugin: $plugin" >&5
42386
42334
$as_echo "$as_me: error: unknown plugin: $plugin" >&2;}
42458
42406
 
42459
42407
 
42460
42408
 
42461
 
 
42462
 
 
42463
 
 
42464
 
 
42465
 
 
42466
42409
   if test "X$mysql_plugin_ndbcluster" = Xyes -a \
42467
42410
           "X$with_plugin_ndbcluster" != Xno -o \
42468
42411
           "X$with_plugin_ndbcluster" = Xyes; then
42525
42468
 
42526
42469
 
42527
42470
 
42528
 
 
42529
 
 
42530
42471
 { $as_echo "$as_me:$LINENO: checking whether to use Partition Support" >&5
42531
42472
$as_echo_n "checking whether to use Partition Support... " >&6; }
42532
42473
 mysql_use_plugin_dir=""
43557
43498
 
43558
43499
 
43559
43500
 
43560
 
 { $as_echo "$as_me:$LINENO: checking whether to use IBM DB2 for i Storage Engine" >&5
43561
 
$as_echo_n "checking whether to use IBM DB2 for i Storage Engine... " >&6; }
43562
 
 mysql_use_plugin_dir=""
43563
 
 
43564
 
 
43565
 
  # Plugin is not disabled, determine if it should be built,
43566
 
  # or only distributed
43567
 
 
43568
 
 
43569
 
    if test ! -d "$srcdir/storage/ibmdb2i"; then
43570
 
      # Plugin directory was removed after autoconf was run; treat
43571
 
      # this as a disabled plugin
43572
 
      if test "X$with_plugin_ibmdb2i" = Xyes; then
43573
 
        { $as_echo "$as_me:$LINENO: result: error" >&5
43574
 
$as_echo "error" >&6; }
43575
 
        { { $as_echo "$as_me:$LINENO: error: disabled" >&5
43576
 
$as_echo "$as_me: error: disabled" >&2;}
43577
 
   { (exit 1); exit 1; }; }
43578
 
      fi
43579
 
 
43580
 
      # The result message will be printed below
43581
 
      with_plugin_ibmdb2i=no
43582
 
    fi
43583
 
 
43584
 
 
43585
 
 
43586
 
   case "$with_mysqld_ldflags " in
43587
 
     *"-all-static "*)
43588
 
       # No need to build shared plugins when mysqld is linked with
43589
 
       # -all-static as it won't be able to load them.
43590
 
       if test "X$mysql_plugin_ibmdb2i" != Xyes -a \
43591
 
               "X$with_plugin_ibmdb2i" != Xyes; then
43592
 
             with_plugin_ibmdb2i=no
43593
 
           fi
43594
 
     ;;
43595
 
   esac
43596
 
 
43597
 
 
43598
 
 
43599
 
  if test "X$with_plugin_ibmdb2i" = Xno; then
43600
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
43601
 
$as_echo "no" >&6; }
43602
 
  else
43603
 
    with_plugin_ibmdb2i=''
43604
 
    if test "X$mysql_plugin_ibmdb2i" != Xyes -a \
43605
 
            "X$with_plugin_ibmdb2i" != Xyes; then
43606
 
 
43607
 
 
43608
 
         if test -d "$srcdir/storage/ibmdb2i" ; then
43609
 
           mysql_use_plugin_dir="storage/ibmdb2i"
43610
 
 
43611
 
       plugin_ibmdb2i_shared_target="ha_ibmdb2i.la"
43612
 
 
43613
 
       plugin_ibmdb2i_static_target=""
43614
 
 
43615
 
       with_plugin_ibmdb2i=yes
43616
 
       { $as_echo "$as_me:$LINENO: result: plugin" >&5
43617
 
$as_echo "plugin" >&6; }
43618
 
 
43619
 
         else
43620
 
           mysql_plugin_ibmdb2i=no
43621
 
           { $as_echo "$as_me:$LINENO: result: no" >&5
43622
 
$as_echo "no" >&6; }
43623
 
         fi
43624
 
 
43625
 
 
43626
 
    else
43627
 
 
43628
 
 
43629
 
        { $as_echo "$as_me:$LINENO: result: error" >&5
43630
 
$as_echo "error" >&6; }
43631
 
        { { $as_echo "$as_me:$LINENO: error: Plugin ibmdb2i does not support static linking" >&5
43632
 
$as_echo "$as_me: error: Plugin ibmdb2i does not support static linking" >&2;}
43633
 
   { (exit 1); exit 1; }; }
43634
 
 
43635
 
 
43636
 
      mysql_plugin_defs="$mysql_plugin_defs, builtin_ibmdb2i_plugin"
43637
 
      with_plugin_ibmdb2i=yes
43638
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
43639
 
$as_echo "yes" >&6; }
43640
 
 
43641
 
    fi
43642
 
  fi
43643
 
 
43644
 
 
43645
 
    if test -d "$srcdir/storage/ibmdb2i"; then
43646
 
      # Even if we don't build a plugin, we bundle its source into the dist
43647
 
      # file.  So its Makefile (and Makefiles for any subdirs) must be
43648
 
      # generated for 'make dist' to work.
43649
 
 
43650
 
 
43651
 
          # autoconf doesn't provide an automatic way to configure DIST_SUBDIRS of
43652
 
          # a subdir; for our purposes, it's enough to just check for existing
43653
 
          # Makefile.am files and add them in here
43654
 
          ac_config_files="$ac_config_files storage/ibmdb2i/Makefile"
43655
 
 
43656
 
 
43657
 
 
43658
 
 
43659
 
 
43660
 
          mysql_se_distdirs="$mysql_se_distdirs ibmdb2i"
43661
 
          if test -n "$mysql_use_plugin_dir" ; then
43662
 
            mysql_se_dirs="$mysql_se_dirs ibmdb2i"
43663
 
            mysql_se_unittest_dirs="$mysql_se_unittest_dirs ../storage/ibmdb2i"
43664
 
          fi
43665
 
    fi
43666
 
 
43667
 
 
43668
 
 
43669
 
 
43670
 
 
43671
 
 
43672
 
 
43673
 
 
43674
 
 
43675
 
 
43676
 
 
43677
 
 
43678
43501
 { $as_echo "$as_me:$LINENO: checking whether to use InnoDB Storage Engine" >&5
43679
43502
$as_echo_n "checking whether to use InnoDB Storage Engine... " >&6; }
43680
43503
 mysql_use_plugin_dir=""
44238
44061
          # autoconf doesn't provide an automatic way to configure DIST_SUBDIRS of
44239
44062
          # a subdir; for our purposes, it's enough to just check for existing
44240
44063
          # Makefile.am files and add them in here
44241
 
          ac_config_files="$ac_config_files storage/ndb/docs/Makefile storage/ndb/include/Makefile storage/ndb/src/common/debugger/signaldata/Makefile storage/ndb/src/common/debugger/Makefile storage/ndb/src/common/logger/Makefile storage/ndb/src/common/mgmcommon/Makefile storage/ndb/src/common/portlib/Makefile storage/ndb/src/common/transporter/Makefile storage/ndb/src/common/util/Makefile storage/ndb/src/common/Makefile storage/ndb/src/cw/cpcd/Makefile storage/ndb/src/cw/Makefile storage/ndb/src/kernel/blocks/backup/Makefile storage/ndb/src/kernel/blocks/dbdict/Makefile storage/ndb/src/kernel/blocks/dbdih/Makefile storage/ndb/src/kernel/blocks/dblqh/Makefile storage/ndb/src/kernel/blocks/dbtup/Makefile storage/ndb/src/kernel/blocks/Makefile storage/ndb/src/kernel/error/Makefile storage/ndb/src/kernel/vm/Makefile storage/ndb/src/kernel/Makefile storage/ndb/src/mgmapi/Makefile storage/ndb/src/mgmclient/Makefile storage/ndb/src/mgmsrv/Makefile storage/ndb/src/ndbapi/Makefile storage/ndb/src/Makefile storage/ndb/test/ndbapi/bank/Makefile storage/ndb/test/ndbapi/Makefile storage/ndb/test/run-test/Makefile storage/ndb/test/src/Makefile storage/ndb/test/tools/Makefile storage/ndb/test/Makefile storage/ndb/tools/Makefile storage/ndb/Makefile"
 
44064
          ac_config_files="$ac_config_files storage/ndb/tools/Makefile storage/ndb/include/Makefile storage/ndb/docs/Makefile storage/ndb/Makefile storage/ndb/test/src/Makefile storage/ndb/test/tools/Makefile storage/ndb/test/Makefile storage/ndb/test/run-test/Makefile storage/ndb/test/ndbapi/bank/Makefile storage/ndb/test/ndbapi/Makefile storage/ndb/src/mgmclient/Makefile storage/ndb/src/mgmsrv/Makefile storage/ndb/src/ndbapi/Makefile storage/ndb/src/common/portlib/Makefile storage/ndb/src/common/util/Makefile storage/ndb/src/common/Makefile storage/ndb/src/common/mgmcommon/Makefile storage/ndb/src/common/logger/Makefile storage/ndb/src/common/debugger/signaldata/Makefile storage/ndb/src/common/debugger/Makefile storage/ndb/src/common/transporter/Makefile storage/ndb/src/mgmapi/Makefile storage/ndb/src/Makefile storage/ndb/src/cw/Makefile storage/ndb/src/cw/cpcd/Makefile storage/ndb/src/kernel/Makefile storage/ndb/src/kernel/vm/Makefile storage/ndb/src/kernel/error/Makefile storage/ndb/src/kernel/blocks/Makefile storage/ndb/src/kernel/blocks/dbdict/Makefile storage/ndb/src/kernel/blocks/backup/Makefile storage/ndb/src/kernel/blocks/dbtup/Makefile storage/ndb/src/kernel/blocks/dblqh/Makefile storage/ndb/src/kernel/blocks/dbdih/Makefile"
44242
44065
 
44243
44066
 
44244
44067
 
44287
44110
 
44288
44111
 
44289
44112
 
44290
 
 
44291
 
 
44292
44113
  if test "X$with_plugin_partition" = Xyes; then
44293
44114
    if test "X$plugin_partition_static_target" = X -a \
44294
44115
            "X$plugin_partition_shared_target" = X; then
44451
44272
 
44452
44273
 
44453
44274
 
44454
 
  if test "X$with_plugin_ibmdb2i" = Xyes; then
44455
 
    if test "X$plugin_ibmdb2i_static_target" = X -a \
44456
 
            "X$plugin_ibmdb2i_shared_target" = X; then
44457
 
      { { $as_echo "$as_me:$LINENO: error: that's strange, ibmdb2i failed sanity check" >&5
44458
 
$as_echo "$as_me: error: that's strange, ibmdb2i failed sanity check" >&2;}
44459
 
   { (exit 1); exit 1; }; }
44460
 
    fi
44461
 
 
44462
 
 
44463
 
  fi
44464
 
 
44465
 
 
44466
 
 
44467
 
 
44468
 
 
44469
 
 
44470
 
 
44471
 
 
44472
44275
  if test "X$with_plugin_innobase" = Xyes; then
44473
44276
    if test "X$plugin_innobase_static_target" = X -a \
44474
44277
            "X$plugin_innobase_shared_target" = X; then
48478
48281
 
48479
48282
  { $as_echo "$as_me:$LINENO: checking whether Solaris libc atomic functions are available" >&5
48480
48283
$as_echo_n "checking whether Solaris libc atomic functions are available... " >&6; }
48481
 
  # either define HAVE_IB_SOLARIS_ATOMICS or not
48482
 
 
48483
 
 
48484
 
 
48485
 
 
48486
 
for ac_func in atomic_add_long \
 
48284
  # Define HAVE_IB_SOLARIS_ATOMICS if _all_ of the following
 
48285
  # functions are present.
 
48286
 
 
48287
 
 
48288
 
 
48289
 
 
48290
 
 
48291
for ac_func in atomic_add_long_nv \
48487
48292
                 atomic_cas_32 \
48488
48293
                 atomic_cas_64 \
48489
 
                 atomic_cas_ulong
 
48294
                 atomic_cas_ulong \
 
48295
                 atomic_swap_uchar
48490
48296
do
48491
48297
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48492
48298
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
48583
48389
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48584
48390
_ACEOF
48585
48391
 
 
48392
fi
 
48393
done
 
48394
 
 
48395
 
 
48396
  if test "${ac_cv_func_atomic_add_long_nv}" = "yes" -a \
 
48397
          "${ac_cv_func_atomic_cas_32}" = "yes" -a \
 
48398
          "${ac_cv_func_atomic_cas_64}" = "yes" -a \
 
48399
          "${ac_cv_func_atomic_cas_ulong}" = "yes" -a \
 
48400
          "${ac_cv_func_atomic_swap_uchar}" = "yes" ; then
 
48401
 
 
48402
 
48586
48403
cat >>confdefs.h <<\_ACEOF
48587
48404
#define HAVE_IB_SOLARIS_ATOMICS 1
48588
48405
_ACEOF
48589
48406
 
48590
 
 
48591
 
fi
48592
 
done
48593
 
 
 
48407
  fi
48594
48408
 
48595
48409
  { $as_echo "$as_me:$LINENO: checking whether pthread_t can be used by Solaris libc atomic functions" >&5
48596
48410
$as_echo_n "checking whether pthread_t can be used by Solaris libc atomic functions... " >&6; }
49607
49421
 
49608
49422
 
49609
49423
 
49610
 
 
49611
 
 
49612
49424
# Only build client code?
49613
49425
 
49614
49426
# Check whether --with-server was given.
50141
49953
    MAN_DROP="$MAN_DROP embedded"
50142
49954
    grep -v 'embedded' $MANLISTFIL > $TMPLISTFIL ; mv -f $TMPLISTFIL $MANLISTFIL
50143
49955
  fi
50144
 
  if test X"$with_plugin_innobase" != Xyes
 
49956
  if test X"$with_plugin_innobase" != Xyes -a X"$with_plugin_innodb_plugin" != Xyes
50145
49957
  then
50146
49958
    MAN_DROP="$MAN_DROP innodb"
50147
49959
    grep -v 'inno' $MANLISTFIL > $TMPLISTFIL ; mv -f $TMPLISTFIL $MANLISTFIL
50247
50059
fi
50248
50060
 
50249
50061
# "innochecksum" is not in the "innobase/" subdirectory, but should be switched
50250
 
 if test X"$with_plugin_innobase" = Xyes; then
 
50062
 if test X"$with_plugin_innobase" = Xyes -o X"$with_plugin_innodb_plugin" = Xyes ; then
50251
50063
  BUILD_INNODB_TOOLS_TRUE=
50252
50064
  BUILD_INNODB_TOOLS_FALSE='#'
50253
50065
else
50287
50099
done
50288
50100
 
50289
50101
 
 
50102
#
 
50103
# Setup maintainer mode options by the end to not disturb
 
50104
# system and other checks.
 
50105
#
 
50106
 
 
50107
  if test "$USE_MYSQL_MAINTAINER_MODE" = "yes"; then
 
50108
 
 
50109
  # Detect ICC posing as GCC.
 
50110
  cat >conftest.$ac_ext <<_ACEOF
 
50111
/* confdefs.h.  */
 
50112
_ACEOF
 
50113
cat confdefs.h >>conftest.$ac_ext
 
50114
cat >>conftest.$ac_ext <<_ACEOF
 
50115
/* end confdefs.h.  */
 
50116
__INTEL_COMPILER
 
50117
_ACEOF
 
50118
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
50119
  $EGREP "^__INTEL_COMPILER" >/dev/null 2>&1; then
 
50120
  INTEL_COMPILER=no
 
50121
else
 
50122
  INTEL_COMPILER=yes
 
50123
fi
 
50124
rm -f conftest*
 
50125
 
 
50126
  # Setup GCC warning options.
 
50127
  if test "$GCC" = "yes" -a "$INTEL_COMPILER" = "no"; then
 
50128
 
 
50129
    C_WARNINGS="-Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror"
 
50130
    CXX_WARNINGS="${C_WARNINGS} -Wno-unused-parameter"
 
50131
    C_WARNINGS="${C_WARNINGS} -Wdeclaration-after-statement"
 
50132
 
 
50133
fi
 
50134
 
 
50135
 
 
50136
  # Test whether the warning options work.
 
50137
  # Test C options
 
50138
  if test -n "$C_WARNINGS"; then
 
50139
 
 
50140
    save_CFLAGS="$CFLAGS"
 
50141
    { $as_echo "$as_me:$LINENO: checking whether to use C warning options ${C_WARNINGS}" >&5
 
50142
$as_echo_n "checking whether to use C warning options ${C_WARNINGS}... " >&6; }
 
50143
    ac_ext=c
 
50144
ac_cpp='$CPP $CPPFLAGS'
 
50145
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
50146
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
50147
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
50148
 
 
50149
    CFLAGS="$CFLAGS ${C_WARNINGS}"
 
50150
    cat >conftest.$ac_ext <<_ACEOF
 
50151
/* confdefs.h.  */
 
50152
_ACEOF
 
50153
cat confdefs.h >>conftest.$ac_ext
 
50154
cat >>conftest.$ac_ext <<_ACEOF
 
50155
/* end confdefs.h.  */
 
50156
 
 
50157
int
 
50158
main ()
 
50159
{
 
50160
 
 
50161
  ;
 
50162
  return 0;
 
50163
}
 
50164
_ACEOF
 
50165
rm -f conftest.$ac_objext
 
50166
if { (ac_try="$ac_compile"
 
50167
case "(($ac_try" in
 
50168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
50169
  *) ac_try_echo=$ac_try;;
 
50170
esac
 
50171
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
50172
$as_echo "$ac_try_echo") >&5
 
50173
  (eval "$ac_compile") 2>conftest.er1
 
50174
  ac_status=$?
 
50175
  grep -v '^ *+' conftest.er1 >conftest.err
 
50176
  rm -f conftest.er1
 
50177
  cat conftest.err >&5
 
50178
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
50179
  (exit $ac_status); } && {
 
50180
         test -z "$ac_c_werror_flag" ||
 
50181
         test ! -s conftest.err
 
50182
       } && test -s conftest.$ac_objext; then
 
50183
  myac_c_warning_flags=yes
 
50184
else
 
50185
  $as_echo "$as_me: failed program was:" >&5
 
50186
sed 's/^/| /' conftest.$ac_ext >&5
 
50187
 
 
50188
        myac_c_warning_flags=no
 
50189
fi
 
50190
 
 
50191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
50192
    ac_ext=c
 
50193
ac_cpp='$CPP $CPPFLAGS'
 
50194
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
50195
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
50196
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
50197
 
 
50198
    { $as_echo "$as_me:$LINENO: result: $myac_c_warning_flags" >&5
 
50199
$as_echo "$myac_c_warning_flags" >&6; }
 
50200
    CFLAGS="$save_CFLAGS"
 
50201
 
 
50202
fi
 
50203
 
 
50204
 
 
50205
  # Test C++ options
 
50206
  if test -n "$CXX_WARNINGS"; then
 
50207
 
 
50208
    save_CXXFLAGS="$CXXFLAGS"
 
50209
    { $as_echo "$as_me:$LINENO: checking whether to use C++ warning options ${CXX_WARNINGS}" >&5
 
50210
$as_echo_n "checking whether to use C++ warning options ${CXX_WARNINGS}... " >&6; }
 
50211
    ac_ext=cpp
 
50212
ac_cpp='$CXXCPP $CPPFLAGS'
 
50213
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
50214
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
50215
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
50216
 
 
50217
    CXXFLAGS="$CXXFLAGS ${CXX_WARNINGS}"
 
50218
    cat >conftest.$ac_ext <<_ACEOF
 
50219
/* confdefs.h.  */
 
50220
_ACEOF
 
50221
cat confdefs.h >>conftest.$ac_ext
 
50222
cat >>conftest.$ac_ext <<_ACEOF
 
50223
/* end confdefs.h.  */
 
50224
 
 
50225
int
 
50226
main ()
 
50227
{
 
50228
 
 
50229
  ;
 
50230
  return 0;
 
50231
}
 
50232
_ACEOF
 
50233
rm -f conftest.$ac_objext
 
50234
if { (ac_try="$ac_compile"
 
50235
case "(($ac_try" in
 
50236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
50237
  *) ac_try_echo=$ac_try;;
 
50238
esac
 
50239
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
50240
$as_echo "$ac_try_echo") >&5
 
50241
  (eval "$ac_compile") 2>conftest.er1
 
50242
  ac_status=$?
 
50243
  grep -v '^ *+' conftest.er1 >conftest.err
 
50244
  rm -f conftest.er1
 
50245
  cat conftest.err >&5
 
50246
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
50247
  (exit $ac_status); } && {
 
50248
         test -z "$ac_cxx_werror_flag" ||
 
50249
         test ! -s conftest.err
 
50250
       } && test -s conftest.$ac_objext; then
 
50251
  myac_cxx_warning_flags=yes
 
50252
else
 
50253
  $as_echo "$as_me: failed program was:" >&5
 
50254
sed 's/^/| /' conftest.$ac_ext >&5
 
50255
 
 
50256
        myac_cxx_warning_flags=no
 
50257
fi
 
50258
 
 
50259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
50260
    ac_ext=c
 
50261
ac_cpp='$CPP $CPPFLAGS'
 
50262
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
50263
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
50264
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
50265
 
 
50266
    { $as_echo "$as_me:$LINENO: result: $myac_cxx_warning_flags" >&5
 
50267
$as_echo "$myac_cxx_warning_flags" >&6; }
 
50268
    CXXFLAGS="$save_CXXFLAGS"
 
50269
 
 
50270
fi
 
50271
 
 
50272
 
 
50273
  # Set compile flag variables.
 
50274
  if test "$myac_c_warning_flags" = "yes"; then
 
50275
 
 
50276
    AM_CFLAGS="${AM_CFLAGS} ${C_WARNINGS}"
 
50277
 
 
50278
fi
 
50279
 
 
50280
  if test "$myac_cxx_warning_flags" = "yes"; then
 
50281
 
 
50282
    AM_CXXFLAGS="${AM_CXXFLAGS} ${CXX_WARNINGS}"
 
50283
 
 
50284
fi
 
50285
 
 
50286
 
 
50287
fi
 
50288
 
 
50289
 
 
50290
 
50290
50291
# Some usefull subst
50291
50292
 
50292
50293
 
50303
50304
 
50304
50305
 
50305
50306
# Output results
50306
 
if test -d "$srcdir/pstack" ; then
50307
 
  ac_config_files="$ac_config_files pstack/Makefile pstack/aout/Makefile"
50308
 
 
50309
 
fi
50310
50307
if test -d "$srcdir/cmd-line-utils/readline" ; then
50311
50308
  ac_config_files="$ac_config_files cmd-line-utils/readline/Makefile"
50312
50309
 
50313
50310
fi
50314
50311
 
50315
 
ac_config_files="$ac_config_files Makefile extra/Makefile mysys/Makefile unittest/Makefile unittest/mytap/Makefile unittest/mytap/t/Makefile unittest/mysys/Makefile unittest/examples/Makefile strings/Makefile regex/Makefile storage/Makefile man/Makefile BUILD/Makefile vio/Makefile libmysql/Makefile libmysql_r/Makefile client/Makefile sql/Makefile sql/share/Makefile sql/sql_builtin.cc sql-common/Makefile dbug/Makefile scripts/Makefile include/Makefile tests/Makefile Docs/Makefile support-files/Makefile support-files/MacOSX/Makefile support-files/RHEL4-SElinux/Makefile server-tools/Makefile server-tools/instance-manager/Makefile cmd-line-utils/Makefile cmd-line-utils/libedit/Makefile libmysqld/Makefile libmysqld/examples/Makefile mysql-test/Makefile mysql-test/lib/My/SafeProcess/Makefile netware/Makefile sql-bench/Makefile include/mysql_version.h plugin/Makefile win/Makefile"
 
50312
ac_config_files="$ac_config_files Makefile extra/Makefile mysys/Makefile unittest/Makefile unittest/mytap/Makefile unittest/mytap/t/Makefile unittest/mysys/Makefile unittest/strings/Makefile unittest/examples/Makefile strings/Makefile regex/Makefile storage/Makefile man/Makefile BUILD/Makefile vio/Makefile libmysql/Makefile libmysql_r/Makefile client/Makefile sql/Makefile sql/share/Makefile sql/sql_builtin.cc sql-common/Makefile dbug/Makefile scripts/Makefile include/Makefile tests/Makefile Docs/Makefile support-files/Makefile support-files/MacOSX/Makefile support-files/RHEL4-SElinux/Makefile server-tools/Makefile server-tools/instance-manager/Makefile cmd-line-utils/Makefile cmd-line-utils/libedit/Makefile libmysqld/Makefile libmysqld/examples/Makefile mysql-test/Makefile mysql-test/lib/My/SafeProcess/Makefile netware/Makefile sql-bench/Makefile include/mysql_version.h plugin/Makefile win/Makefile"
50316
50313
 
50317
50314
 
50318
50315
ac_config_commands="$ac_config_commands default"
50855
50852
# report actual input values of CONFIG_FILES etc. instead of their
50856
50853
# values after options handling.
50857
50854
ac_log="
50858
 
This file was extended by MySQL Server $as_me 5.1.49, which was
 
50855
This file was extended by MySQL Server $as_me 5.1.61, which was
50859
50856
generated by GNU Autoconf 2.63.  Invocation command line was
50860
50857
 
50861
50858
  CONFIG_FILES    = $CONFIG_FILES
50918
50915
_ACEOF
50919
50916
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
50920
50917
ac_cs_version="\\
50921
 
MySQL Server config.status 5.1.49
 
50918
MySQL Server config.status 5.1.61
50922
50919
configured by $0, generated by GNU Autoconf 2.63,
50923
50920
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50924
50921
 
51413
51410
    "storage/example/Makefile") CONFIG_FILES="$CONFIG_FILES storage/example/Makefile" ;;
51414
51411
    "storage/federated/Makefile") CONFIG_FILES="$CONFIG_FILES storage/federated/Makefile" ;;
51415
51412
    "storage/heap/Makefile") CONFIG_FILES="$CONFIG_FILES storage/heap/Makefile" ;;
51416
 
    "storage/ibmdb2i/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ibmdb2i/Makefile" ;;
51417
51413
    "storage/innobase/Makefile") CONFIG_FILES="$CONFIG_FILES storage/innobase/Makefile" ;;
51418
51414
    "storage/innodb_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES storage/innodb_plugin/Makefile" ;;
51419
51415
    "storage/myisam/Makefile") CONFIG_FILES="$CONFIG_FILES storage/myisam/Makefile" ;;
51420
51416
    "storage/myisammrg/Makefile") CONFIG_FILES="$CONFIG_FILES storage/myisammrg/Makefile" ;;
 
51417
    "storage/ndb/tools/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/tools/Makefile" ;;
 
51418
    "storage/ndb/include/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/include/Makefile" ;;
51421
51419
    "storage/ndb/docs/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/docs/Makefile" ;;
51422
 
    "storage/ndb/include/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/include/Makefile" ;;
 
51420
    "storage/ndb/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/Makefile" ;;
 
51421
    "storage/ndb/test/src/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/src/Makefile" ;;
 
51422
    "storage/ndb/test/tools/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/tools/Makefile" ;;
 
51423
    "storage/ndb/test/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/Makefile" ;;
 
51424
    "storage/ndb/test/run-test/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/run-test/Makefile" ;;
 
51425
    "storage/ndb/test/ndbapi/bank/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/ndbapi/bank/Makefile" ;;
 
51426
    "storage/ndb/test/ndbapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/ndbapi/Makefile" ;;
 
51427
    "storage/ndb/src/mgmclient/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmclient/Makefile" ;;
 
51428
    "storage/ndb/src/mgmsrv/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmsrv/Makefile" ;;
 
51429
    "storage/ndb/src/ndbapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/ndbapi/Makefile" ;;
 
51430
    "storage/ndb/src/common/portlib/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/portlib/Makefile" ;;
 
51431
    "storage/ndb/src/common/util/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/util/Makefile" ;;
 
51432
    "storage/ndb/src/common/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/Makefile" ;;
 
51433
    "storage/ndb/src/common/mgmcommon/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/mgmcommon/Makefile" ;;
 
51434
    "storage/ndb/src/common/logger/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/logger/Makefile" ;;
51423
51435
    "storage/ndb/src/common/debugger/signaldata/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/debugger/signaldata/Makefile" ;;
51424
51436
    "storage/ndb/src/common/debugger/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/debugger/Makefile" ;;
51425
 
    "storage/ndb/src/common/logger/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/logger/Makefile" ;;
51426
 
    "storage/ndb/src/common/mgmcommon/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/mgmcommon/Makefile" ;;
51427
 
    "storage/ndb/src/common/portlib/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/portlib/Makefile" ;;
51428
51437
    "storage/ndb/src/common/transporter/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/transporter/Makefile" ;;
51429
 
    "storage/ndb/src/common/util/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/util/Makefile" ;;
51430
 
    "storage/ndb/src/common/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/Makefile" ;;
 
51438
    "storage/ndb/src/mgmapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmapi/Makefile" ;;
 
51439
    "storage/ndb/src/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/Makefile" ;;
 
51440
    "storage/ndb/src/cw/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/cw/Makefile" ;;
51431
51441
    "storage/ndb/src/cw/cpcd/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/cw/cpcd/Makefile" ;;
51432
 
    "storage/ndb/src/cw/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/cw/Makefile" ;;
 
51442
    "storage/ndb/src/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/Makefile" ;;
 
51443
    "storage/ndb/src/kernel/vm/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/vm/Makefile" ;;
 
51444
    "storage/ndb/src/kernel/error/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/error/Makefile" ;;
 
51445
    "storage/ndb/src/kernel/blocks/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/Makefile" ;;
 
51446
    "storage/ndb/src/kernel/blocks/dbdict/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dbdict/Makefile" ;;
51433
51447
    "storage/ndb/src/kernel/blocks/backup/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/backup/Makefile" ;;
51434
 
    "storage/ndb/src/kernel/blocks/dbdict/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dbdict/Makefile" ;;
 
51448
    "storage/ndb/src/kernel/blocks/dbtup/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dbtup/Makefile" ;;
 
51449
    "storage/ndb/src/kernel/blocks/dblqh/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dblqh/Makefile" ;;
51435
51450
    "storage/ndb/src/kernel/blocks/dbdih/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dbdih/Makefile" ;;
51436
 
    "storage/ndb/src/kernel/blocks/dblqh/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dblqh/Makefile" ;;
51437
 
    "storage/ndb/src/kernel/blocks/dbtup/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dbtup/Makefile" ;;
51438
 
    "storage/ndb/src/kernel/blocks/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/Makefile" ;;
51439
 
    "storage/ndb/src/kernel/error/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/error/Makefile" ;;
51440
 
    "storage/ndb/src/kernel/vm/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/vm/Makefile" ;;
51441
 
    "storage/ndb/src/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/Makefile" ;;
51442
 
    "storage/ndb/src/mgmapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmapi/Makefile" ;;
51443
 
    "storage/ndb/src/mgmclient/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmclient/Makefile" ;;
51444
 
    "storage/ndb/src/mgmsrv/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmsrv/Makefile" ;;
51445
 
    "storage/ndb/src/ndbapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/ndbapi/Makefile" ;;
51446
 
    "storage/ndb/src/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/Makefile" ;;
51447
 
    "storage/ndb/test/ndbapi/bank/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/ndbapi/bank/Makefile" ;;
51448
 
    "storage/ndb/test/ndbapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/ndbapi/Makefile" ;;
51449
 
    "storage/ndb/test/run-test/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/run-test/Makefile" ;;
51450
 
    "storage/ndb/test/src/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/src/Makefile" ;;
51451
 
    "storage/ndb/test/tools/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/tools/Makefile" ;;
51452
 
    "storage/ndb/test/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/Makefile" ;;
51453
 
    "storage/ndb/tools/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/tools/Makefile" ;;
51454
 
    "storage/ndb/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/Makefile" ;;
51455
51451
    "storage/ndb/src/libndb.ver") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/libndb.ver" ;;
51456
51452
    "storage/ndb/include/ndb_version.h") CONFIG_FILES="$CONFIG_FILES storage/ndb/include/ndb_version.h" ;;
51457
51453
    "storage/ndb/include/ndb_global.h") CONFIG_FILES="$CONFIG_FILES storage/ndb/include/ndb_global.h" ;;
51458
51454
    "storage/ndb/include/ndb_types.h") CONFIG_FILES="$CONFIG_FILES storage/ndb/include/ndb_types.h" ;;
51459
 
    "pstack/Makefile") CONFIG_FILES="$CONFIG_FILES pstack/Makefile" ;;
51460
 
    "pstack/aout/Makefile") CONFIG_FILES="$CONFIG_FILES pstack/aout/Makefile" ;;
51461
51455
    "cmd-line-utils/readline/Makefile") CONFIG_FILES="$CONFIG_FILES cmd-line-utils/readline/Makefile" ;;
51462
51456
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51463
51457
    "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;;
51466
51460
    "unittest/mytap/Makefile") CONFIG_FILES="$CONFIG_FILES unittest/mytap/Makefile" ;;
51467
51461
    "unittest/mytap/t/Makefile") CONFIG_FILES="$CONFIG_FILES unittest/mytap/t/Makefile" ;;
51468
51462
    "unittest/mysys/Makefile") CONFIG_FILES="$CONFIG_FILES unittest/mysys/Makefile" ;;
 
51463
    "unittest/strings/Makefile") CONFIG_FILES="$CONFIG_FILES unittest/strings/Makefile" ;;
51469
51464
    "unittest/examples/Makefile") CONFIG_FILES="$CONFIG_FILES unittest/examples/Makefile" ;;
51470
51465
    "strings/Makefile") CONFIG_FILES="$CONFIG_FILES strings/Makefile" ;;
51471
51466
    "regex/Makefile") CONFIG_FILES="$CONFIG_FILES regex/Makefile" ;;
53134
53129
fi
53135
53130
 
53136
53131
 
 
53132
# Add warning if user configures with --with-ndbcluster
 
53133
if test X"$with_plugin_ndbcluster" = Xyes ; then
 
53134
  echo
 
53135
  echo This version of MySQL Cluster is no longer maintained.
 
53136
  echo Please use the separate sources provided for MySQL Cluster instead.
 
53137
  echo See http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster.html
 
53138
  echo for more details.
 
53139
fi
 
53140
 
53137
53141
# The first line "Thank you ..." is checked in ./Do-compile to verify that configure
53138
53142
# ended sucessfully - don't remove it.
53139
53143
echo