~ubuntu-branches/ubuntu/intrepid/apache2/intrepid

« back to all changes in this revision

Viewing changes to srclib/apr/configure

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Fritsch, Stefan Fritsch, Peter Samuelson
  • Date: 2007-07-01 19:57:51 UTC
  • mfrom: (0.8.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070701195751-kcags6dpm5up3li5
Tags: 2.2.4-1
[ Stefan Fritsch ]
* Urgency medium for security fix
* Fix CVE-2007-1863: DoS in mod_cache
* New upstream version (Closes: #427050)
  - Fixes "proxy: error reading status line from remote server"
    (Closes: #410331)
* Fix CVE-2007-1862: mod_mem_cache DoS (introduced in 2.2.4)
* Change logrotate script to use reload instead of restart.
  (Closes: #298689)
* chmod o-rx /var/log/apache2 (Closes: #291841)
* chmod o-x suexec (Closes: #431048)
* Update patch for truncated mod_cgi 500 responses from upstream SVN
  (Closes: #412580)
* Don't use AddDefaultCharset for our docs (Closes: #414429)
* fix options syntax in sites-available/default (Closes: #419539)
* Move conf.d include to the end of apache2.conf (Closes: #305933)
* Remove log, cache, and lock files on purge (Closes: #428887)
* Ship /usr/lib/cgi-bin (Closes: #415698)
* Add note to README.Debian how to read docs (Closes: #350822)
* Document pid file name (Closes: #350286)
* Update Standards-Version (no changes needed)
* Fix some lintian warnings, add some overrides
* Start apache when doing a "restart" even if it was not running
  (Closes: #384682)
* reload config in apache2-doc postinst (Closes: #289289)
* don't fail in prerm if apache is not running (Closes: #418536)
* Suggest apache2-doc and www-browser (Closes: #399056)
* Make init script always display a warning if NO_START=1 since
  VERBOSE=yes is not the default anymore (Closes: #430116)
* Replace apache2(8) man page with a more current version
* Add httxt2dbm(8) man page
* Show -X option in help message (Closes: #391817)
* remove sick-hack-to-update-modules
* don't depend on procps on hurd (Closes: #431125)

[ Peter Samuelson ]
* Add shlibs:Depends to apache2.2-common.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2207
2207
    echo "NOTEST_LIBS=\"$NOTEST_LIBS\"; export NOTEST_LIBS" >> config.nice
2208
2208
  fi
2209
2209
 
2210
 
  for arg in $0 "$@"; do
 
2210
  # Retrieve command-line arguments.
 
2211
  eval "set x $0 $ac_configure_args"
 
2212
  shift
 
2213
 
 
2214
  for arg
 
2215
  do
2211
2216
 
2212
2217
ap_last=
2213
2218
ap_cur="$arg"
2457
2462
 
2458
2463
 
2459
2464
ac_prev=
 
2465
# Retrieve the command-line arguments.  The eval is needed because
 
2466
# the arguments are quoted to preserve accuracy.
 
2467
eval "set x $ac_configure_args"
 
2468
shift
2460
2469
for ac_option
2461
2470
do
2462
2471
  # If the previous option needs an argument, assign it.
8602
8611
  ;;
8603
8612
*-*-irix6*)
8604
8613
  # Find out which ABI we are using.
8605
 
  echo '#line 8605 "configure"' > conftest.$ac_ext
 
8614
  echo '#line 8614 "configure"' > conftest.$ac_ext
8606
8615
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8607
8616
  (eval $ac_compile) 2>&5
8608
8617
  ac_status=$?
9599
9608
 
9600
9609
 
9601
9610
# Provide some information about the compiler.
9602
 
echo "$as_me:9602:" \
 
9611
echo "$as_me:9611:" \
9603
9612
     "checking for Fortran 77 compiler version" >&5
9604
9613
ac_compiler=`set X $ac_compile; echo $2`
9605
9614
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10701
10710
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10702
10711
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10703
10712
   -e 's:$: $lt_compiler_flag:'`
10704
 
   (eval echo "\"\$as_me:10704: $lt_compile\"" >&5)
 
10713
   (eval echo "\"\$as_me:10713: $lt_compile\"" >&5)
10705
10714
   (eval "$lt_compile" 2>conftest.err)
10706
10715
   ac_status=$?
10707
10716
   cat conftest.err >&5
10708
 
   echo "$as_me:10708: \$? = $ac_status" >&5
 
10717
   echo "$as_me:10717: \$? = $ac_status" >&5
10709
10718
   if (exit $ac_status) && test -s "$ac_outfile"; then
10710
10719
     # The compiler can only warn and ignore the option if not recognized
10711
10720
     # So say no if there are warnings other than the usual output.
10963
10972
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10964
10973
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10965
10974
   -e 's:$: $lt_compiler_flag:'`
10966
 
   (eval echo "\"\$as_me:10966: $lt_compile\"" >&5)
 
10975
   (eval echo "\"\$as_me:10975: $lt_compile\"" >&5)
10967
10976
   (eval "$lt_compile" 2>conftest.err)
10968
10977
   ac_status=$?
10969
10978
   cat conftest.err >&5
10970
 
   echo "$as_me:10970: \$? = $ac_status" >&5
 
10979
   echo "$as_me:10979: \$? = $ac_status" >&5
10971
10980
   if (exit $ac_status) && test -s "$ac_outfile"; then
10972
10981
     # The compiler can only warn and ignore the option if not recognized
10973
10982
     # So say no if there are warnings other than the usual output.
11025
11034
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11026
11035
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11027
11036
   -e 's:$: $lt_compiler_flag:'`
11028
 
   (eval echo "\"\$as_me:11028: $lt_compile\"" >&5)
 
11037
   (eval echo "\"\$as_me:11037: $lt_compile\"" >&5)
11029
11038
   (eval "$lt_compile" 2>out/conftest.err)
11030
11039
   ac_status=$?
11031
11040
   cat out/conftest.err >&5
11032
 
   echo "$as_me:11032: \$? = $ac_status" >&5
 
11041
   echo "$as_me:11041: \$? = $ac_status" >&5
11033
11042
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11034
11043
   then
11035
11044
     # The compiler can only warn and ignore the option if not recognized
13273
13282
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13274
13283
  lt_status=$lt_dlunknown
13275
13284
  cat > conftest.$ac_ext <<EOF
13276
 
#line 13276 "configure"
 
13285
#line 13285 "configure"
13277
13286
#include "confdefs.h"
13278
13287
 
13279
13288
#if HAVE_DLFCN_H
13371
13380
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13372
13381
  lt_status=$lt_dlunknown
13373
13382
  cat > conftest.$ac_ext <<EOF
13374
 
#line 13374 "configure"
 
13383
#line 13383 "configure"
13375
13384
#include "confdefs.h"
13376
13385
 
13377
13386
#if HAVE_DLFCN_H
15630
15639
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15631
15640
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15632
15641
   -e 's:$: $lt_compiler_flag:'`
15633
 
   (eval echo "\"\$as_me:15633: $lt_compile\"" >&5)
 
15642
   (eval echo "\"\$as_me:15642: $lt_compile\"" >&5)
15634
15643
   (eval "$lt_compile" 2>conftest.err)
15635
15644
   ac_status=$?
15636
15645
   cat conftest.err >&5
15637
 
   echo "$as_me:15637: \$? = $ac_status" >&5
 
15646
   echo "$as_me:15646: \$? = $ac_status" >&5
15638
15647
   if (exit $ac_status) && test -s "$ac_outfile"; then
15639
15648
     # The compiler can only warn and ignore the option if not recognized
15640
15649
     # So say no if there are warnings other than the usual output.
15692
15701
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15693
15702
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15694
15703
   -e 's:$: $lt_compiler_flag:'`
15695
 
   (eval echo "\"\$as_me:15695: $lt_compile\"" >&5)
 
15704
   (eval echo "\"\$as_me:15704: $lt_compile\"" >&5)
15696
15705
   (eval "$lt_compile" 2>out/conftest.err)
15697
15706
   ac_status=$?
15698
15707
   cat out/conftest.err >&5
15699
 
   echo "$as_me:15699: \$? = $ac_status" >&5
 
15708
   echo "$as_me:15708: \$? = $ac_status" >&5
15700
15709
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15701
15710
   then
15702
15711
     # The compiler can only warn and ignore the option if not recognized
17069
17078
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17070
17079
  lt_status=$lt_dlunknown
17071
17080
  cat > conftest.$ac_ext <<EOF
17072
 
#line 17072 "configure"
 
17081
#line 17081 "configure"
17073
17082
#include "confdefs.h"
17074
17083
 
17075
17084
#if HAVE_DLFCN_H
17167
17176
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17168
17177
  lt_status=$lt_dlunknown
17169
17178
  cat > conftest.$ac_ext <<EOF
17170
 
#line 17170 "configure"
 
17179
#line 17179 "configure"
17171
17180
#include "confdefs.h"
17172
17181
 
17173
17182
#if HAVE_DLFCN_H
18052
18061
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18053
18062
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18054
18063
   -e 's:$: $lt_compiler_flag:'`
18055
 
   (eval echo "\"\$as_me:18055: $lt_compile\"" >&5)
 
18064
   (eval echo "\"\$as_me:18064: $lt_compile\"" >&5)
18056
18065
   (eval "$lt_compile" 2>conftest.err)
18057
18066
   ac_status=$?
18058
18067
   cat conftest.err >&5
18059
 
   echo "$as_me:18059: \$? = $ac_status" >&5
 
18068
   echo "$as_me:18068: \$? = $ac_status" >&5
18060
18069
   if (exit $ac_status) && test -s "$ac_outfile"; then
18061
18070
     # The compiler can only warn and ignore the option if not recognized
18062
18071
     # So say no if there are warnings other than the usual output.
18114
18123
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18115
18124
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18116
18125
   -e 's:$: $lt_compiler_flag:'`
18117
 
   (eval echo "\"\$as_me:18117: $lt_compile\"" >&5)
 
18126
   (eval echo "\"\$as_me:18126: $lt_compile\"" >&5)
18118
18127
   (eval "$lt_compile" 2>out/conftest.err)
18119
18128
   ac_status=$?
18120
18129
   cat out/conftest.err >&5
18121
 
   echo "$as_me:18121: \$? = $ac_status" >&5
 
18130
   echo "$as_me:18130: \$? = $ac_status" >&5
18122
18131
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18123
18132
   then
18124
18133
     # The compiler can only warn and ignore the option if not recognized
20248
20257
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20249
20258
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20250
20259
   -e 's:$: $lt_compiler_flag:'`
20251
 
   (eval echo "\"\$as_me:20251: $lt_compile\"" >&5)
 
20260
   (eval echo "\"\$as_me:20260: $lt_compile\"" >&5)
20252
20261
   (eval "$lt_compile" 2>conftest.err)
20253
20262
   ac_status=$?
20254
20263
   cat conftest.err >&5
20255
 
   echo "$as_me:20255: \$? = $ac_status" >&5
 
20264
   echo "$as_me:20264: \$? = $ac_status" >&5
20256
20265
   if (exit $ac_status) && test -s "$ac_outfile"; then
20257
20266
     # The compiler can only warn and ignore the option if not recognized
20258
20267
     # So say no if there are warnings other than the usual output.
20510
20519
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20511
20520
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20512
20521
   -e 's:$: $lt_compiler_flag:'`
20513
 
   (eval echo "\"\$as_me:20513: $lt_compile\"" >&5)
 
20522
   (eval echo "\"\$as_me:20522: $lt_compile\"" >&5)
20514
20523
   (eval "$lt_compile" 2>conftest.err)
20515
20524
   ac_status=$?
20516
20525
   cat conftest.err >&5
20517
 
   echo "$as_me:20517: \$? = $ac_status" >&5
 
20526
   echo "$as_me:20526: \$? = $ac_status" >&5
20518
20527
   if (exit $ac_status) && test -s "$ac_outfile"; then
20519
20528
     # The compiler can only warn and ignore the option if not recognized
20520
20529
     # So say no if there are warnings other than the usual output.
20572
20581
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20573
20582
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20574
20583
   -e 's:$: $lt_compiler_flag:'`
20575
 
   (eval echo "\"\$as_me:20575: $lt_compile\"" >&5)
 
20584
   (eval echo "\"\$as_me:20584: $lt_compile\"" >&5)
20576
20585
   (eval "$lt_compile" 2>out/conftest.err)
20577
20586
   ac_status=$?
20578
20587
   cat out/conftest.err >&5
20579
 
   echo "$as_me:20579: \$? = $ac_status" >&5
 
20588
   echo "$as_me:20588: \$? = $ac_status" >&5
20580
20589
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
20581
20590
   then
20582
20591
     # The compiler can only warn and ignore the option if not recognized
22820
22829
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22821
22830
  lt_status=$lt_dlunknown
22822
22831
  cat > conftest.$ac_ext <<EOF
22823
 
#line 22823 "configure"
 
22832
#line 22832 "configure"
22824
22833
#include "confdefs.h"
22825
22834
 
22826
22835
#if HAVE_DLFCN_H
22918
22927
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22919
22928
  lt_status=$lt_dlunknown
22920
22929
  cat > conftest.$ac_ext <<EOF
22921
 
#line 22921 "configure"
 
22930
#line 22930 "configure"
22922
22931
#include "confdefs.h"
22923
22932
 
22924
22933
#if HAVE_DLFCN_H
28939
28948
 
28940
28949
  fi
28941
28950
 
28942
 
 
28943
 
 
28944
28951
echo "$as_me:$LINENO: checking for /dev/zero" >&5
28945
28952
echo $ECHO_N "checking for /dev/zero... $ECHO_C" >&6
28946
28953
if test "${ac_cv_file__dev_zero+set}" = set; then
28947
28954
  echo $ECHO_N "(cached) $ECHO_C" >&6
28948
28955
else
28949
 
  if test -r /dev/zero; then
28950
 
   ac_cv_file__dev_zero=yes
28951
 
 else
28952
 
   ac_cv_file__dev_zero=no
28953
 
 fi
 
28956
  test "$cross_compiling" = yes &&
 
28957
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
 
28958
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
 
28959
   { (exit 1); exit 1; }; }
 
28960
if test -r "/dev/zero"; then
 
28961
  ac_cv_file__dev_zero=yes
 
28962
else
 
28963
  ac_cv_file__dev_zero=no
 
28964
fi
28954
28965
fi
28955
28966
echo "$as_me:$LINENO: result: $ac_cv_file__dev_zero" >&5
28956
28967
echo "${ECHO_T}$ac_cv_file__dev_zero" >&6
36574
36585
        size_t_fmt='#define APR_SIZE_T_FMT "ld"'
36575
36586
        ;;
36576
36587
    *apple-darwin*)
36577
 
        ssize_t_fmt='#define APR_SSIZE_T_FMT "d"'
 
36588
        osver=`uname -r`
 
36589
        case $osver in
 
36590
           0-7.*)
 
36591
              ssize_t_fmt='#define APR_SSIZE_T_FMT "d"'
 
36592
              ;;
 
36593
           *)
 
36594
              ssize_t_fmt='#define APR_SSIZE_T_FMT "ld"'
 
36595
              ;;
 
36596
        esac
36578
36597
        size_t_fmt='#define APR_SIZE_T_FMT "lu"'
36579
36598
        ;;
36580
36599
esac
39415
39434
        exit(2);
39416
39435
    if (pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_NP))
39417
39436
        exit(3);
39418
 
    if (pthread_mutexattr_setprotocol(&mattr, PTHREAD_PRIO_INHERIT))
 
39437
    if (pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT))
39419
39438
        exit(4);
39420
39439
    if (pthread_mutex_init(&mutex, &attr))
39421
39440
        exit(5);