~ubuntu-branches/ubuntu/gutsy/mysql-dfsg-5.0/gutsy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-03 09:43:01 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20070403094301-fnjhfr59hu72pvtg
Tags: 5.0.38-0ubuntu1
* Package the Enterprise version again (.37 was a community version), since
  Debian and we have always done so. This brings in a few more bug fixes and
  makes functional derivations less likely.
* debian/README.Maintainer: Add pointer to upstream download URL, since it
  is very hard to find the Enterprise versions.
* Disable 33_scripts__mysql_create_system_tables__no_test.dpatch, since that
  script was removed upstream.
* debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch: Adapted to
  changed formatting in new upstream version.
* Remove debian/patches/86_PATH_MAX.dpatch, fixed upstream.
* Add debian/patches/90_org_tables_definition.dpatch: Fix local variable
  declaration in libmysqld/sql_parse.cc to fix compilation with
  EMBEDDED_LIBRARY.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1059
1059
                          Compile the client with threads.
1060
1060
  --enable-assembler      Use assembler versions of some string
1061
1061
                          functions if available.
1062
 
  --disable-profiling     Build a version without query profiling code
1063
1062
  --enable-local-infile   Enable LOAD DATA LOCAL INFILE (default: disabled)
1064
1063
  --disable-grant-options Disables the use of --init-file, --skip-grant-tables and --bootstrap options
1065
1064
  --disable-largefile     Omit support for large files
2035
2034
 
2036
2035
# Define the identity of the package.
2037
2036
 PACKAGE=mysql
2038
 
 VERSION=5.0.37
 
2037
 VERSION=5.0.38
2039
2038
 
2040
2039
 
2041
2040
cat >>confdefs.h <<_ACEOF
2181
2180
# ndb version
2182
2181
NDB_VERSION_MAJOR=5
2183
2182
NDB_VERSION_MINOR=0
2184
 
NDB_VERSION_BUILD=37
 
2183
NDB_VERSION_BUILD=38
2185
2184
NDB_VERSION_STATUS=""
2186
2185
 
2187
2186
# Set all version vars based on $VERSION. How do we do this more elegant ?
5901
5900
  ;;
5902
5901
*-*-irix6*)
5903
5902
  # Find out which ABI we are using.
5904
 
  echo '#line 5904 "configure"' > conftest.$ac_ext
 
5903
  echo '#line 5903 "configure"' > conftest.$ac_ext
5905
5904
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5906
5905
  (eval $ac_compile) 2>&5
5907
5906
  ac_status=$?
6802
6801
 
6803
6802
 
6804
6803
# Provide some information about the compiler.
6805
 
echo "$as_me:6805:" \
 
6804
echo "$as_me:6804:" \
6806
6805
     "checking for Fortran 77 compiler version" >&5
6807
6806
ac_compiler=`set X $ac_compile; echo $2`
6808
6807
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7865
7864
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7866
7865
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7867
7866
   -e 's:$: $lt_compiler_flag:'`
7868
 
   (eval echo "\"\$as_me:7868: $lt_compile\"" >&5)
 
7867
   (eval echo "\"\$as_me:7867: $lt_compile\"" >&5)
7869
7868
   (eval "$lt_compile" 2>conftest.err)
7870
7869
   ac_status=$?
7871
7870
   cat conftest.err >&5
7872
 
   echo "$as_me:7872: \$? = $ac_status" >&5
 
7871
   echo "$as_me:7871: \$? = $ac_status" >&5
7873
7872
   if (exit $ac_status) && test -s "$ac_outfile"; then
7874
7873
     # The compiler can only warn and ignore the option if not recognized
7875
7874
     # So say no if there are warnings other than the usual output.
8133
8132
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8134
8133
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8135
8134
   -e 's:$: $lt_compiler_flag:'`
8136
 
   (eval echo "\"\$as_me:8136: $lt_compile\"" >&5)
 
8135
   (eval echo "\"\$as_me:8135: $lt_compile\"" >&5)
8137
8136
   (eval "$lt_compile" 2>conftest.err)
8138
8137
   ac_status=$?
8139
8138
   cat conftest.err >&5
8140
 
   echo "$as_me:8140: \$? = $ac_status" >&5
 
8139
   echo "$as_me:8139: \$? = $ac_status" >&5
8141
8140
   if (exit $ac_status) && test -s "$ac_outfile"; then
8142
8141
     # The compiler can only warn and ignore the option if not recognized
8143
8142
     # So say no if there are warnings other than the usual output.
8237
8236
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8238
8237
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8239
8238
   -e 's:$: $lt_compiler_flag:'`
8240
 
   (eval echo "\"\$as_me:8240: $lt_compile\"" >&5)
 
8239
   (eval echo "\"\$as_me:8239: $lt_compile\"" >&5)
8241
8240
   (eval "$lt_compile" 2>out/conftest.err)
8242
8241
   ac_status=$?
8243
8242
   cat out/conftest.err >&5
8244
 
   echo "$as_me:8244: \$? = $ac_status" >&5
 
8243
   echo "$as_me:8243: \$? = $ac_status" >&5
8245
8244
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8246
8245
   then
8247
8246
     # The compiler can only warn and ignore the option if not recognized
9706
9705
  libsuff=
9707
9706
  case "$host_cpu" in
9708
9707
  x86_64*|s390x*|powerpc64*)
9709
 
    echo '#line 9709 "configure"' > conftest.$ac_ext
 
9708
    echo '#line 9708 "configure"' > conftest.$ac_ext
9710
9709
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9711
9710
  (eval $ac_compile) 2>&5
9712
9711
  ac_status=$?
10603
10602
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10604
10603
  lt_status=$lt_dlunknown
10605
10604
  cat > conftest.$ac_ext <<EOF
10606
 
#line 10606 "configure"
 
10605
#line 10605 "configure"
10607
10606
#include "confdefs.h"
10608
10607
 
10609
10608
#if HAVE_DLFCN_H
10703
10702
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10704
10703
  lt_status=$lt_dlunknown
10705
10704
  cat > conftest.$ac_ext <<EOF
10706
 
#line 10706 "configure"
 
10705
#line 10705 "configure"
10707
10706
#include "confdefs.h"
10708
10707
 
10709
10708
#if HAVE_DLFCN_H
13043
13042
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13044
13043
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13045
13044
   -e 's:$: $lt_compiler_flag:'`
13046
 
   (eval echo "\"\$as_me:13046: $lt_compile\"" >&5)
 
13045
   (eval echo "\"\$as_me:13045: $lt_compile\"" >&5)
13047
13046
   (eval "$lt_compile" 2>conftest.err)
13048
13047
   ac_status=$?
13049
13048
   cat conftest.err >&5
13050
 
   echo "$as_me:13050: \$? = $ac_status" >&5
 
13049
   echo "$as_me:13049: \$? = $ac_status" >&5
13051
13050
   if (exit $ac_status) && test -s "$ac_outfile"; then
13052
13051
     # The compiler can only warn and ignore the option if not recognized
13053
13052
     # So say no if there are warnings other than the usual output.
13147
13146
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13148
13147
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13149
13148
   -e 's:$: $lt_compiler_flag:'`
13150
 
   (eval echo "\"\$as_me:13150: $lt_compile\"" >&5)
 
13149
   (eval echo "\"\$as_me:13149: $lt_compile\"" >&5)
13151
13150
   (eval "$lt_compile" 2>out/conftest.err)
13152
13151
   ac_status=$?
13153
13152
   cat out/conftest.err >&5
13154
 
   echo "$as_me:13154: \$? = $ac_status" >&5
 
13153
   echo "$as_me:13153: \$? = $ac_status" >&5
13155
13154
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13156
13155
   then
13157
13156
     # The compiler can only warn and ignore the option if not recognized
13683
13682
  libsuff=
13684
13683
  case "$host_cpu" in
13685
13684
  x86_64*|s390x*|powerpc64*)
13686
 
    echo '#line 13686 "configure"' > conftest.$ac_ext
 
13685
    echo '#line 13685 "configure"' > conftest.$ac_ext
13687
13686
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13688
13687
  (eval $ac_compile) 2>&5
13689
13688
  ac_status=$?
14738
14737
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14739
14738
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14740
14739
   -e 's:$: $lt_compiler_flag:'`
14741
 
   (eval echo "\"\$as_me:14741: $lt_compile\"" >&5)
 
14740
   (eval echo "\"\$as_me:14740: $lt_compile\"" >&5)
14742
14741
   (eval "$lt_compile" 2>conftest.err)
14743
14742
   ac_status=$?
14744
14743
   cat conftest.err >&5
14745
 
   echo "$as_me:14745: \$? = $ac_status" >&5
 
14744
   echo "$as_me:14744: \$? = $ac_status" >&5
14746
14745
   if (exit $ac_status) && test -s "$ac_outfile"; then
14747
14746
     # The compiler can only warn and ignore the option if not recognized
14748
14747
     # So say no if there are warnings other than the usual output.
14842
14841
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14843
14842
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14844
14843
   -e 's:$: $lt_compiler_flag:'`
14845
 
   (eval echo "\"\$as_me:14845: $lt_compile\"" >&5)
 
14844
   (eval echo "\"\$as_me:14844: $lt_compile\"" >&5)
14846
14845
   (eval "$lt_compile" 2>out/conftest.err)
14847
14846
   ac_status=$?
14848
14847
   cat out/conftest.err >&5
14849
 
   echo "$as_me:14849: \$? = $ac_status" >&5
 
14848
   echo "$as_me:14848: \$? = $ac_status" >&5
14850
14849
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14851
14850
   then
14852
14851
     # The compiler can only warn and ignore the option if not recognized
16291
16290
  libsuff=
16292
16291
  case "$host_cpu" in
16293
16292
  x86_64*|s390x*|powerpc64*)
16294
 
    echo '#line 16294 "configure"' > conftest.$ac_ext
 
16293
    echo '#line 16293 "configure"' > conftest.$ac_ext
16295
16294
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16296
16295
  (eval $ac_compile) 2>&5
16297
16296
  ac_status=$?
17066
17065
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17067
17066
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17068
17067
   -e 's:$: $lt_compiler_flag:'`
17069
 
   (eval echo "\"\$as_me:17069: $lt_compile\"" >&5)
 
17068
   (eval echo "\"\$as_me:17068: $lt_compile\"" >&5)
17070
17069
   (eval "$lt_compile" 2>conftest.err)
17071
17070
   ac_status=$?
17072
17071
   cat conftest.err >&5
17073
 
   echo "$as_me:17073: \$? = $ac_status" >&5
 
17072
   echo "$as_me:17072: \$? = $ac_status" >&5
17074
17073
   if (exit $ac_status) && test -s "$ac_outfile"; then
17075
17074
     # The compiler can only warn and ignore the option if not recognized
17076
17075
     # So say no if there are warnings other than the usual output.
17334
17333
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17335
17334
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17336
17335
   -e 's:$: $lt_compiler_flag:'`
17337
 
   (eval echo "\"\$as_me:17337: $lt_compile\"" >&5)
 
17336
   (eval echo "\"\$as_me:17336: $lt_compile\"" >&5)
17338
17337
   (eval "$lt_compile" 2>conftest.err)
17339
17338
   ac_status=$?
17340
17339
   cat conftest.err >&5
17341
 
   echo "$as_me:17341: \$? = $ac_status" >&5
 
17340
   echo "$as_me:17340: \$? = $ac_status" >&5
17342
17341
   if (exit $ac_status) && test -s "$ac_outfile"; then
17343
17342
     # The compiler can only warn and ignore the option if not recognized
17344
17343
     # So say no if there are warnings other than the usual output.
17438
17437
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17439
17438
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17440
17439
   -e 's:$: $lt_compiler_flag:'`
17441
 
   (eval echo "\"\$as_me:17441: $lt_compile\"" >&5)
 
17440
   (eval echo "\"\$as_me:17440: $lt_compile\"" >&5)
17442
17441
   (eval "$lt_compile" 2>out/conftest.err)
17443
17442
   ac_status=$?
17444
17443
   cat out/conftest.err >&5
17445
 
   echo "$as_me:17445: \$? = $ac_status" >&5
 
17444
   echo "$as_me:17444: \$? = $ac_status" >&5
17446
17445
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17447
17446
   then
17448
17447
     # The compiler can only warn and ignore the option if not recognized
18907
18906
  libsuff=
18908
18907
  case "$host_cpu" in
18909
18908
  x86_64*|s390x*|powerpc64*)
18910
 
    echo '#line 18910 "configure"' > conftest.$ac_ext
 
18909
    echo '#line 18909 "configure"' > conftest.$ac_ext
18911
18910
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18912
18911
  (eval $ac_compile) 2>&5
18913
18912
  ac_status=$?
21969
21968
echo "${ECHO_T}no" >&6
21970
21969
fi
21971
21970
 
21972
 
# Add query profiler
21973
 
# Check whether --enable-profiling or --disable-profiling was given.
21974
 
if test "${enable_profiling+set}" = set; then
21975
 
  enableval="$enable_profiling"
21976
 
   ENABLED_PROFILING=$enableval
21977
 
else
21978
 
   ENABLED_PROFILING=yes
21979
 
fi;
21980
 
 
21981
 
if test "$ENABLED_PROFILING" = "yes"
21982
 
then
21983
 
 
21984
 
cat >>confdefs.h <<\_ACEOF
21985
 
#define ENABLED_PROFILING 1
21986
 
_ACEOF
21987
 
 
21988
 
  echo "$as_me:$LINENO: result: yes" >&5
21989
 
echo "${ECHO_T}yes" >&6
21990
 
else
21991
 
  echo "$as_me:$LINENO: result: no" >&5
21992
 
echo "${ECHO_T}no" >&6
21993
 
fi
21994
21971
 
21995
21972
# Use this to set the place used for unix socket used to local communication.
21996
21973
 
24463
24440
fi
24464
24441
 
24465
24442
 
24466
 
# For sem_xxx functions on Solaris 2.6
24467
 
echo "$as_me:$LINENO: checking for sem_init" >&5
24468
 
echo $ECHO_N "checking for sem_init... $ECHO_C" >&6
24469
 
if test "${ac_cv_func_sem_init+set}" = set; then
 
24443
# For the sched_yield() function on Solaris
 
24444
echo "$as_me:$LINENO: checking for sched_yield" >&5
 
24445
echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
 
24446
if test "${ac_cv_func_sched_yield+set}" = set; then
24470
24447
  echo $ECHO_N "(cached) $ECHO_C" >&6
24471
24448
else
24472
24449
  cat >conftest.$ac_ext <<_ACEOF
24475
24452
cat confdefs.h >>conftest.$ac_ext
24476
24453
cat >>conftest.$ac_ext <<_ACEOF
24477
24454
/* end confdefs.h.  */
24478
 
/* Define sem_init to an innocuous variant, in case <limits.h> declares sem_init.
 
24455
/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
24479
24456
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24480
 
#define sem_init innocuous_sem_init
 
24457
#define sched_yield innocuous_sched_yield
24481
24458
 
24482
24459
/* System header to define __stub macros and hopefully few prototypes,
24483
 
    which can conflict with char sem_init (); below.
 
24460
    which can conflict with char sched_yield (); below.
24484
24461
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24485
24462
    <limits.h> exists even on freestanding compilers.  */
24486
24463
 
24490
24467
# include <assert.h>
24491
24468
#endif
24492
24469
 
24493
 
#undef sem_init
 
24470
#undef sched_yield
24494
24471
 
24495
24472
/* Override any gcc2 internal prototype to avoid an error.  */
24496
24473
#ifdef __cplusplus
24499
24476
#endif
24500
24477
/* We use char because int might match the return type of a gcc2
24501
24478
   builtin and then its argument prototype would still apply.  */
24502
 
char sem_init ();
 
24479
char sched_yield ();
24503
24480
/* The GNU C library defines this for functions which it implements
24504
24481
    to always fail with ENOSYS.  Some functions are actually named
24505
24482
    something starting with __ and the normal name is an alias.  */
24506
 
#if defined (__stub_sem_init) || defined (__stub___sem_init)
 
24483
#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
24507
24484
choke me
24508
24485
#else
24509
 
char (*f) () = sem_init;
 
24486
char (*f) () = sched_yield;
24510
24487
#endif
24511
24488
#ifdef __cplusplus
24512
24489
}
24515
24492
int
24516
24493
main ()
24517
24494
{
24518
 
return f != sem_init;
 
24495
return f != sched_yield;
24519
24496
  ;
24520
24497
  return 0;
24521
24498
}
24542
24519
  ac_status=$?
24543
24520
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544
24521
  (exit $ac_status); }; }; then
24545
 
  ac_cv_func_sem_init=yes
 
24522
  ac_cv_func_sched_yield=yes
24546
24523
else
24547
24524
  echo "$as_me: failed program was:" >&5
24548
24525
sed 's/^/| /' conftest.$ac_ext >&5
24549
24526
 
24550
 
ac_cv_func_sem_init=no
 
24527
ac_cv_func_sched_yield=no
24551
24528
fi
24552
24529
rm -f conftest.err conftest.$ac_objext \
24553
24530
      conftest$ac_exeext conftest.$ac_ext
24554
24531
fi
24555
 
echo "$as_me:$LINENO: result: $ac_cv_func_sem_init" >&5
24556
 
echo "${ECHO_T}$ac_cv_func_sem_init" >&6
24557
 
if test $ac_cv_func_sem_init = yes; then
 
24532
echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
 
24533
echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
 
24534
if test $ac_cv_func_sched_yield = yes; then
24558
24535
  :
24559
24536
else
24560
24537
 
24561
 
echo "$as_me:$LINENO: checking for sem_init in -lposix4" >&5
24562
 
echo $ECHO_N "checking for sem_init in -lposix4... $ECHO_C" >&6
24563
 
if test "${ac_cv_lib_posix4_sem_init+set}" = set; then
 
24538
echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
 
24539
echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
 
24540
if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
24564
24541
  echo $ECHO_N "(cached) $ECHO_C" >&6
24565
24542
else
24566
24543
  ac_check_lib_save_LIBS=$LIBS
24578
24555
#endif
24579
24556
/* We use char because int might match the return type of a gcc2
24580
24557
   builtin and then its argument prototype would still apply.  */
24581
 
char sem_init ();
 
24558
char sched_yield ();
24582
24559
int
24583
24560
main ()
24584
24561
{
24585
 
sem_init ();
 
24562
sched_yield ();
24586
24563
  ;
24587
24564
  return 0;
24588
24565
}
24609
24586
  ac_status=$?
24610
24587
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611
24588
  (exit $ac_status); }; }; then
24612
 
  ac_cv_lib_posix4_sem_init=yes
 
24589
  ac_cv_lib_posix4_sched_yield=yes
24613
24590
else
24614
24591
  echo "$as_me: failed program was:" >&5
24615
24592
sed 's/^/| /' conftest.$ac_ext >&5
24616
24593
 
24617
 
ac_cv_lib_posix4_sem_init=no
 
24594
ac_cv_lib_posix4_sched_yield=no
24618
24595
fi
24619
24596
rm -f conftest.err conftest.$ac_objext \
24620
24597
      conftest$ac_exeext conftest.$ac_ext
24621
24598
LIBS=$ac_check_lib_save_LIBS
24622
24599
fi
24623
 
echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sem_init" >&5
24624
 
echo "${ECHO_T}$ac_cv_lib_posix4_sem_init" >&6
24625
 
if test $ac_cv_lib_posix4_sem_init = yes; then
 
24600
echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
 
24601
echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
 
24602
if test $ac_cv_lib_posix4_sched_yield = yes; then
24626
24603
  cat >>confdefs.h <<_ACEOF
24627
24604
#define HAVE_LIBPOSIX4 1
24628
24605
_ACEOF
24634
24611
fi
24635
24612
 
24636
24613
 
 
24614
 
24637
24615
echo "$as_me:$LINENO: checking for zlib compression library" >&5
24638
24616
echo $ECHO_N "checking for zlib compression library... $ECHO_C" >&6
24639
24617
case $SYSTEM_TYPE in
25877
25855
  *darwin6*)
25878
25856
    if test "$ac_cv_c_compiler_gnu" = "yes"
25879
25857
    then
25880
 
      FLAGS="-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DHAVE_BROKEN_REALPATH"
 
25858
      FLAGS="-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DHAVE_BROKEN_REALPATH -DDONT_DECLARE_CXA_PURE_VIRTUAL "
25881
25859
      CFLAGS="$CFLAGS $FLAGS"
25882
25860
      CXXFLAGS="$CXXFLAGS $FLAGS"
25883
25861
      MAX_C_OPTIMIZE="-O"
25884
25862
    fi
25885
25863
    ;;
25886
25864
  *darwin*)
 
25865
 
 
25866
cat >>confdefs.h <<\_ACEOF
 
25867
#define DEFAULT_SKIP_THREAD_PRIORITY 1
 
25868
_ACEOF
 
25869
 
25887
25870
    if test "$ac_cv_c_compiler_gnu" = "yes"
25888
25871
    then
25889
25872
      FLAGS="-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT"
41085
41068
server_scripts=
41086
41069
thread_dirs=
41087
41070
 
41088
 
sql_client_dirs="strings regex mysys libmysql client"
 
41071
sql_client_dirs=
41089
41072
linked_client_targets="linked_libmysql_sources"
41090
41073
 
41091
 
if test "$THREAD_SAFE_CLIENT" != "no"
 
41074
if test "$THREAD_SAFE_CLIENT" = "no"
41092
41075
then
41093
 
  sql_client_dirs="libmysql_r $sql_client_dirs"
 
41076
  sql_client_dirs="strings regex mysys dbug extra libmysql client"
 
41077
else
 
41078
  sql_client_dirs="strings regex mysys dbug extra libmysql libmysql_r client"
41094
41079
  linked_client_targets="$linked_client_targets linked_libmysql_r_sources"
41095
41080
            ac_config_files="$ac_config_files libmysql_r/Makefile"
41096
41081
 
41133
41118
export CC CXX CFLAGS CXXFLAGS LD LDFLAGS AR
41134
41119
ac_configure_args="$ac_configure_args CFLAGS='$CFLAGS' CXXFLAGS='$CXXFLAGS'"
41135
41120
 
41136
 
if test "$with_server" = "yes" -o "$THREAD_SAFE_CLIENT" != "no"
 
41121
if test "$with_server" != "no" -o "$THREAD_SAFE_CLIENT" != "no"
41137
41122
then
41138
41123
 
41139
41124
cat >>confdefs.h <<\_ACEOF
41143
41128
  # Avoid _PROGRAMS names
41144
41129
  THREAD_LOBJECTS="thr_alarm.o thr_lock.o thr_mutex.o thr_rwlock.o my_pthread.o my_thr_init.o mf_keycache.o"
41145
41130
 
 
41131
fi
 
41132
 
 
41133
if test "$with_server" != "no"
 
41134
then
41146
41135
  server_scripts="mysqld_safe mysql_install_db"
41147
41136
  sql_server_dirs="strings mysys dbug extra regex"
41148
41137