~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

Viewing changes to debian/patches/99_configure.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-06-16 11:28:24 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090616112824-cg6qzhvt63lx7bub
Tags: 4.7.5-0ubuntu1
* New upstream version: 4.7.5 (LP: #387745)

* adjust patches to changed upstream code base
  - update debian/patches/99_configure.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 mozilla/nsprpub/configure |  235 ++++++++++++++++++++++++++--------------------
3
3
 1 file changed, 134 insertions(+), 101 deletions(-)
4
4
 
5
 
Index: nspr-4.7.3/mozilla/nsprpub/configure
 
5
Index: nspr-4.7.5/mozilla/nsprpub/configure
6
6
===================================================================
7
 
--- nspr-4.7.3.orig/mozilla/nsprpub/configure
8
 
+++ nspr-4.7.3/mozilla/nsprpub/configure
9
 
@@ -31,17 +31,17 @@
 
7
--- nspr-4.7.5.orig/mozilla/nsprpub/configure
 
8
+++ nspr-4.7.5/mozilla/nsprpub/configure
 
9
@@ -31,17 +31,17 @@ ac_help="$ac_help
10
10
 ac_help="$ac_help
11
11
   --enable-win32-target=\$t
12
12
                           Specify win32 flavor. (WIN95 or WINNT)"
25
25
   --with-arm-kuser        Use kuser helpers (Linux/ARM only)
26
26
                           (Requires kernel 2.6.13 or later)"
27
27
 ac_help="$ac_help
28
 
@@ -691,17 +691,17 @@
 
28
@@ -691,17 +691,17 @@ MOD_MAJOR_VERSION=4
29
29
 MOD_MINOR_VERSION=7
30
 
 MOD_PATCH_VERSION=3
 
30
 MOD_PATCH_VERSION=5
31
31
 NSPR_MODNAME=nspr20
32
32
 _HAVE_PTHREADS=
33
33
 USE_PTHREADS=
44
44
 _DEBUG_FLAGS=-g
45
45
 MOZ_DEBUG=1
46
46
 MOZ_OPTIMIZE=
47
 
@@ -912,22 +912,54 @@
 
47
@@ -912,22 +912,54 @@ if test "${enable_n32+set}" = set; then
48
48
       fi
49
49
     fi 
50
50
 fi
100
100
       fi 
101
101
 fi
102
102
 
103
 
@@ -1059,17 +1091,17 @@
 
103
@@ -1059,17 +1091,17 @@ if test -z "$CXX"; then
104
104
 
105
105
     esac
106
106
 fi
119
119
   ac_cv_path_WHOAMI="$WHOAMI" # Let the user override the test with a path.
120
120
   ;;
121
121
   ?:/*)                         
122
 
@@ -1130,23 +1162,23 @@
 
122
@@ -1130,23 +1162,23 @@ if test "$target" != "$host"; then
123
123
     echo "cross compiling from $host to $target"
124
124
     cross_compiling=yes
125
125
 
145
145
 else
146
146
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
147
147
   ac_dummy="$PATH"
148
 
@@ -1182,26 +1214,26 @@
 
148
@@ -1182,26 +1214,26 @@ test -n "$HOST_CC" || HOST_CC=""""
149
149
         HOST_LDFLAGS="$LDFLAGS"
150
150
     fi
151
151
 
175
175
   rm -rf conftest*
176
176
   { echo "configure: error: installation or configuration problem: $host compiler $HOST_CC cannot create executables." 1>&2; exit 1; } 
177
177
 fi
178
 
@@ -1220,17 +1252,17 @@
 
178
@@ -1220,17 +1252,17 @@ rm -f conftest*
179
179
         ;;        
180
180
     esac            
181
181
 
194
194
 else
195
195
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
196
196
   ac_dummy="$PATH"
197
 
@@ -1254,17 +1286,17 @@
 
197
@@ -1254,17 +1286,17 @@ fi
198
198
 test -n "$CC" && break
199
199
 done
200
200
 test -n "$CC" || CC="echo"
213
213
 else
214
214
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
215
215
   ac_dummy="$PATH"
216
 
@@ -1284,17 +1316,17 @@
 
216
@@ -1284,17 +1316,17 @@ if test -n "$CC"; then
217
217
 else
218
218
   echo "$ac_t""no" 1>&6
219
219
 fi
232
232
 else
233
233
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
234
234
   ac_prog_rejected=no
235
 
@@ -1335,17 +1367,17 @@
 
235
@@ -1335,17 +1367,17 @@ else
236
236
 fi
237
237
 
238
238
   if test -z "$CC"; then
251
251
 else
252
252
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
253
253
   ac_dummy="$PATH"
254
 
@@ -1367,33 +1399,33 @@
 
254
@@ -1367,33 +1399,33 @@ else
255
255
 fi
256
256
  ;;
257
257
     esac
288
288
     ac_cv_prog_cc_cross=yes
289
289
   fi
290
290
 else
291
 
@@ -1409,31 +1441,31 @@
 
291
@@ -1409,31 +1441,31 @@ ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG
292
292
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
293
293
 cross_compiling=$ac_cv_prog_cc_cross
294
294
 
323
323
 
324
324
 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
325
325
 
326
 
@@ -1442,17 +1474,17 @@
 
326
@@ -1442,17 +1474,17 @@ if test $ac_cv_prog_gcc = yes; then
327
327
 else
328
328
   GCC=
329
329
 fi
342
342
   ac_cv_prog_cc_g=yes
343
343
 else
344
344
   ac_cv_prog_cc_g=no
345
 
@@ -1479,17 +1511,17 @@
 
345
@@ -1479,17 +1511,17 @@ else
346
346
 fi
347
347
 
348
348
     if test -n "$USE_CPLUS"; then
361
361
 else
362
362
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
363
363
   ac_dummy="$PATH"
364
 
@@ -1515,17 +1547,17 @@
 
364
@@ -1515,17 +1547,17 @@ done
365
365
 test -n "$CXX" || CXX="echo"
366
366
 
367
367
         unset ac_cv_prog_CXX
380
380
 else
381
381
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
382
382
   ac_dummy="$PATH"
383
 
@@ -1547,33 +1579,33 @@
 
383
@@ -1547,33 +1579,33 @@ else
384
384
 fi
385
385
 
386
386
 test -n "$CXX" && break
417
417
     ac_cv_prog_cxx_cross=yes
418
418
   fi
419
419
 else
420
 
@@ -1589,31 +1621,31 @@
 
420
@@ -1589,31 +1621,31 @@ ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG
421
421
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
422
422
 cross_compiling=$ac_cv_prog_cc_cross
423
423
 
452
452
 
453
453
 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
454
454
 
455
 
@@ -1622,17 +1654,17 @@
 
455
@@ -1622,17 +1654,17 @@ if test $ac_cv_prog_gxx = yes; then
456
456
 else
457
457
   GXX=
458
458
 fi
471
471
   ac_cv_prog_cxx_g=yes
472
472
 else
473
473
   ac_cv_prog_cxx_g=no
474
 
@@ -1667,17 +1699,17 @@
 
474
@@ -1667,17 +1699,17 @@ fi
475
475
         ;;
476
476
     esac
477
477
 
490
490
 else
491
491
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
492
492
   ac_dummy="$PATH"
493
 
@@ -1702,17 +1734,17 @@
 
493
@@ -1702,17 +1734,17 @@ test -n "$RANLIB" && break
494
494
 done
495
495
 test -n "$RANLIB" || RANLIB="echo"
496
496
 
509
509
 else
510
510
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
511
511
   ac_dummy="$PATH"
512
 
@@ -1737,17 +1769,17 @@
 
512
@@ -1737,17 +1769,17 @@ test -n "$AR" && break
513
513
 done
514
514
 test -n "$AR" || AR="echo"
515
515
 
528
528
 else
529
529
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
530
530
   ac_dummy="$PATH"
531
 
@@ -1772,17 +1804,17 @@
 
531
@@ -1772,17 +1804,17 @@ test -n "$AS" && break
532
532
 done
533
533
 test -n "$AS" || AS="echo"
534
534
 
547
547
 else
548
548
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
549
549
   ac_dummy="$PATH"
550
 
@@ -1807,17 +1839,17 @@
 
550
@@ -1807,17 +1839,17 @@ test -n "$LD" && break
551
551
 done
552
552
 test -n "$LD" || LD="echo"
553
553
 
566
566
 else
567
567
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
568
568
   ac_dummy="$PATH"
569
 
@@ -1842,17 +1874,17 @@
 
569
@@ -1842,17 +1874,17 @@ test -n "$STRIP" && break
570
570
 done
571
571
 test -n "$STRIP" || STRIP="echo"
572
572
 
585
585
 else
586
586
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
587
587
   ac_dummy="$PATH"
588
 
@@ -1877,17 +1909,17 @@
 
588
@@ -1877,17 +1909,17 @@ test -n "$WINDRES" && break
589
589
 done
590
590
 test -n "$WINDRES" || WINDRES="echo"
591
591
 
604
604
 else
605
605
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
606
606
   ac_dummy="$PATH"
607
 
@@ -1907,17 +1939,17 @@
 
607
@@ -1907,17 +1939,17 @@ if test -n "$CC"; then
608
608
 else
609
609
   echo "$ac_t""no" 1>&6
610
610
 fi
623
623
 else
624
624
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
625
625
   ac_prog_rejected=no
626
 
@@ -1958,17 +1990,17 @@
 
626
@@ -1958,17 +1990,17 @@ else
627
627
 fi
628
628
 
629
629
   if test -z "$CC"; then
642
642
 else
643
643
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
644
644
   ac_dummy="$PATH"
645
 
@@ -1990,33 +2022,33 @@
 
645
@@ -1990,33 +2022,33 @@ else
646
646
 fi
647
647
  ;;
648
648
     esac
679
679
     ac_cv_prog_cc_cross=yes
680
680
   fi
681
681
 else
682
 
@@ -2032,31 +2064,31 @@
 
682
@@ -2032,31 +2064,31 @@ ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG
683
683
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
684
684
 cross_compiling=$ac_cv_prog_cc_cross
685
685
 
714
714
 
715
715
 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
716
716
 
717
 
@@ -2065,17 +2097,17 @@
 
717
@@ -2065,17 +2097,17 @@ if test $ac_cv_prog_gcc = yes; then
718
718
 else
719
719
   GCC=
720
720
 fi
733
733
   ac_cv_prog_cc_g=yes
734
734
 else
735
735
   ac_cv_prog_cc_g=no
736
 
@@ -2105,17 +2137,17 @@
 
736
@@ -2105,17 +2137,17 @@ fi
737
737
         if test "$CC" = "cl" -a -z "$CXX"; then
738
738
             CXX=$CC
739
739
         else        
752
752
 else
753
753
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
754
754
   ac_dummy="$PATH"
755
 
@@ -2137,33 +2169,33 @@
 
755
@@ -2137,33 +2169,33 @@ else
756
756
 fi
757
757
 
758
758
 test -n "$CXX" && break
789
789
     ac_cv_prog_cxx_cross=yes
790
790
   fi
791
791
 else
792
 
@@ -2179,31 +2211,31 @@
 
792
@@ -2179,31 +2211,31 @@ ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG
793
793
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
794
794
 cross_compiling=$ac_cv_prog_cc_cross
795
795
 
824
824
 
825
825
 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
826
826
 
827
 
@@ -2212,17 +2244,17 @@
 
827
@@ -2212,17 +2244,17 @@ if test $ac_cv_prog_gxx = yes; then
828
828
 else
829
829
   GXX=
830
830
 fi
843
843
   ac_cv_prog_cxx_g=yes
844
844
 else
845
845
   ac_cv_prog_cxx_g=no
846
 
@@ -2246,72 +2278,72 @@
 
846
@@ -2246,72 +2278,72 @@ else
847
847
   else
848
848
     CXXFLAGS=
849
849
   fi
923
923
   echo "configure: failed program was:" >&5
924
924
   cat conftest.$ac_ext >&5
925
925
   rm -rf conftest*
926
 
@@ -2328,17 +2360,17 @@
 
926
@@ -2328,17 +2360,17 @@ fi
927
927
 else
928
928
   ac_cv_prog_CPP="$CPP"
929
929
 fi
942
942
 else
943
943
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
944
944
   ac_dummy="$PATH"
945
 
@@ -2360,17 +2392,17 @@
 
945
@@ -2360,17 +2392,17 @@ else
946
946
   echo "$ac_t""no" 1>&6
947
947
 fi
948
948
 
961
961
   ac_cv_path_AS="$AS" # Let the user override the test with a path.
962
962
   ;;
963
963
   ?:/*)                         
964
 
@@ -2401,17 +2433,17 @@
 
964
@@ -2401,17 +2433,17 @@ test -n "$AS" && break
965
965
 done
966
966
 test -n "$AS" || AS="$CC"
967
967
 
980
980
   ac_cv_path_AR="$AR" # Let the user override the test with a path.
981
981
   ;;
982
982
   ?:/*)                         
983
 
@@ -2442,17 +2474,17 @@
 
983
@@ -2442,17 +2474,17 @@ test -n "$AR" && break
984
984
 done
985
985
 test -n "$AR" || AR="echo not_ar"
986
986
 
999
999
   ac_cv_path_LD="$LD" # Let the user override the test with a path.
1000
1000
   ;;
1001
1001
   ?:/*)                         
1002
 
@@ -2483,17 +2515,17 @@
 
1002
@@ -2483,17 +2515,17 @@ test -n "$LD" && break
1003
1003
 done
1004
1004
 test -n "$LD" || LD="echo not_ld"
1005
1005
 
1018
1018
   ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
1019
1019
   ;;
1020
1020
   ?:/*)                         
1021
 
@@ -2524,17 +2556,17 @@
 
1021
@@ -2524,17 +2556,17 @@ test -n "$STRIP" && break
1022
1022
 done
1023
1023
 test -n "$STRIP" || STRIP="echo not_strip"
1024
1024
 
1037
1037
   ac_cv_path_WINDRES="$WINDRES" # Let the user override the test with a path.
1038
1038
   ;;
1039
1039
   ?:/*)                         
1040
 
@@ -2592,39 +2624,39 @@
 
1040
@@ -2592,39 +2624,39 @@ esac
1041
1041
 
1042
1042
 if test "$cross_compiling"  = "yes"; then
1043
1043
     CROSS_COMPILE=1
1080
1080
   rm -rf conftest*
1081
1081
   _res_gcc_pipe="no" 
1082
1082
 fi
1083
 
@@ -2641,17 +2673,17 @@
 
1083
@@ -2641,17 +2673,17 @@ rm -f conftest*
1084
1084
     rm -f dummy-hello.c dummy-hello.s dummy-hello.S dummy-hello a.out
1085
1085
     echo "$ac_t""$_res" 1>&6
1086
1086
 else
1099
1099
 EOF
1100
1100
         ac_cv_visibility_hidden=no
1101
1101
         if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
1102
 
@@ -2665,17 +2697,17 @@
 
1102
@@ -2665,17 +2697,17 @@ fi
1103
1103
 
1104
1104
 echo "$ac_t""$ac_cv_visibility_hidden" 1>&6
1105
1105
     if test "$ac_cv_visibility_hidden" = "yes"; then
1118
1118
             int foo_hidden = 1;
1119
1119
 #pragma GCC visibility push(default)
1120
1120
             int foo_default = 1;
1121
 
@@ -2718,17 +2750,17 @@
 
1121
@@ -2718,17 +2750,17 @@ fi # GNU_CC
1122
1122
 fi # SKIP_COMPILER_CHECKS
1123
1123
 
1124
1124
 if test -z "$SKIP_PATH_CHECKS"; then
1137
1137
   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1138
1138
   ;;
1139
1139
   ?:/*)                         
1140
 
@@ -2975,27 +3007,27 @@
 
1140
@@ -2975,27 +3007,27 @@ EOF
1141
1141
 
1142
1142
     cat >> confdefs.h <<\EOF
1143
1143
 #define SYSV 1
1168
1168
   echo "$ac_err" >&5
1169
1169
   echo "configure: failed program was:" >&5
1170
1170
   cat conftest.$ac_ext >&5
1171
 
@@ -3142,36 +3174,36 @@
 
1171
@@ -3142,36 +3174,36 @@ EOF
1172
1172
     PR_MD_ARCH_DIR=beos
1173
1173
     RESOLVE_LINK_SYMBOLS=1
1174
1174
     case "${target_cpu}" in
1208
1208
   rm -rf conftest*
1209
1209
   eval "ac_cv_lib_$ac_lib_var=no"
1210
1210
 fi
1211
 
@@ -4496,27 +4528,27 @@
 
1211
@@ -4498,27 +4530,27 @@ EOF
1212
1212
     if test -z "$GNU_CC"; then
1213
1213
         CC="$CC -std1 -ieee_with_inexact"
1214
1214
         if test "$OS_RELEASE" != "V2.0"; then
1217
1217
         _OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Olimit 4000"
1218
1218
         ac_safe=`echo "machine/builtins.h" | sed 'y%./+-%__p_%'`
1219
1219
 echo $ac_n "checking for machine/builtins.h""... $ac_c" 1>&6
1220
 
-echo "configure:4505: checking for machine/builtins.h" >&5
1221
 
+echo "configure:4537: checking for machine/builtins.h" >&5
 
1220
-echo "configure:4507: checking for machine/builtins.h" >&5
 
1221
+echo "configure:4539: checking for machine/builtins.h" >&5
1222
1222
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1223
1223
   echo $ac_n "(cached) $ac_c" 1>&6
1224
1224
 else
1225
1225
   cat > conftest.$ac_ext <<EOF
1226
 
-#line 4510 "configure"
1227
 
+#line 4542 "configure"
 
1226
-#line 4512 "configure"
 
1227
+#line 4544 "configure"
1228
1228
 #include "confdefs.h"
1229
1229
 #include <machine/builtins.h>
1230
1230
 EOF
1231
1231
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1232
 
-{ (eval echo configure:4515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1233
 
+{ (eval echo configure:4547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1232
-{ (eval echo configure:4517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1233
+{ (eval echo configure:4549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1234
1234
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1235
1235
 if test -z "$ac_err"; then
1236
1236
   rm -rf conftest*
1239
1239
   echo "$ac_err" >&5
1240
1240
   echo "configure: failed program was:" >&5
1241
1241
   cat conftest.$ac_ext >&5
1242
 
@@ -5022,63 +5054,63 @@
 
1242
@@ -5038,63 +5070,63 @@ if test -z "$SKIP_LIBRARY_CHECKS"; then
1243
1243
 
1244
1244
 
1245
1245
 
1248
1248
     ;;
1249
1249
 *)
1250
1250
     echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
1251
 
-echo "configure:5031: checking for dlopen in -ldl" >&5
1252
 
+echo "configure:5063: checking for dlopen in -ldl" >&5
 
1251
-echo "configure:5047: checking for dlopen in -ldl" >&5
 
1252
+echo "configure:5079: checking for dlopen in -ldl" >&5
1253
1253
 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
1254
1254
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1255
1255
   echo $ac_n "(cached) $ac_c" 1>&6
1257
1257
   ac_save_LIBS="$LIBS"
1258
1258
 LIBS="-ldl  $LIBS"
1259
1259
 cat > conftest.$ac_ext <<EOF
1260
 
-#line 5039 "configure"
1261
 
+#line 5071 "configure"
 
1260
-#line 5055 "configure"
 
1261
+#line 5087 "configure"
1262
1262
 #include "confdefs.h"
1263
1263
 /* Override any gcc2 internal prototype to avoid an error.  */
1264
1264
 /* We use char because int might match the return type of a gcc2
1269
1269
 dlopen()
1270
1270
 ; return 0; }
1271
1271
 EOF
1272
 
-if { (eval echo configure:5050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1273
 
+if { (eval echo configure:5082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1272
-if { (eval echo configure:5066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1273
+if { (eval echo configure:5098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1274
1274
   rm -rf conftest*
1275
1275
   eval "ac_cv_lib_$ac_lib_var=yes"
1276
1276
 else
1287
1287
   echo "$ac_t""yes" 1>&6
1288
1288
   ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
1289
1289
 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
1290
 
-echo "configure:5067: checking for dlfcn.h" >&5
1291
 
+echo "configure:5099: checking for dlfcn.h" >&5
 
1290
-echo "configure:5083: checking for dlfcn.h" >&5
 
1291
+echo "configure:5115: checking for dlfcn.h" >&5
1292
1292
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1293
1293
   echo $ac_n "(cached) $ac_c" 1>&6
1294
1294
 else
1295
1295
   cat > conftest.$ac_ext <<EOF
1296
 
-#line 5072 "configure"
1297
 
+#line 5104 "configure"
 
1296
-#line 5088 "configure"
 
1297
+#line 5120 "configure"
1298
1298
 #include "confdefs.h"
1299
1299
 #include <dlfcn.h>
1300
1300
 EOF
1301
1301
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1302
 
-{ (eval echo configure:5077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1303
 
+{ (eval echo configure:5109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1302
-{ (eval echo configure:5093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1303
+{ (eval echo configure:5125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1304
1304
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1305
1305
 if test -z "$ac_err"; then
1306
1306
   rm -rf conftest*
1309
1309
   echo "$ac_err" >&5
1310
1310
   echo "configure: failed program was:" >&5
1311
1311
   cat conftest.$ac_ext >&5
1312
 
@@ -5101,23 +5133,23 @@
 
1312
@@ -5117,23 +5149,23 @@ fi
1313
1313
     ;;
1314
1314
 esac
1315
1315
 
1318
1318
 
1319
1319
 if test $ac_cv_prog_gcc = yes; then
1320
1320
     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
1321
 
-echo "configure:5110: checking whether ${CC-cc} needs -traditional" >&5
1322
 
+echo "configure:5142: checking whether ${CC-cc} needs -traditional" >&5
 
1321
-echo "configure:5126: checking whether ${CC-cc} needs -traditional" >&5
 
1322
+echo "configure:5158: checking whether ${CC-cc} needs -traditional" >&5
1323
1323
 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1324
1324
   echo $ac_n "(cached) $ac_c" 1>&6
1325
1325
 else
1326
1326
     ac_pattern="Autoconf.*'x'"
1327
1327
   cat > conftest.$ac_ext <<EOF
1328
 
-#line 5116 "configure"
1329
 
+#line 5148 "configure"
 
1328
-#line 5132 "configure"
 
1329
+#line 5164 "configure"
1330
1330
 #include "confdefs.h"
1331
1331
 #include <sgtty.h>
1332
1332
 Autoconf TIOCGETP
1335
1335
   egrep "$ac_pattern" >/dev/null 2>&1; then
1336
1336
   rm -rf conftest*
1337
1337
   ac_cv_prog_gcc_traditional=yes
1338
 
@@ -5125,17 +5157,17 @@
 
1338
@@ -5141,17 +5173,17 @@ else
1339
1339
   rm -rf conftest*
1340
1340
   ac_cv_prog_gcc_traditional=no
1341
1341
 fi
1344
1344
 
1345
1345
   if test $ac_cv_prog_gcc_traditional = no; then
1346
1346
     cat > conftest.$ac_ext <<EOF
1347
 
-#line 5134 "configure"
1348
 
+#line 5166 "configure"
 
1347
-#line 5150 "configure"
 
1348
+#line 5182 "configure"
1349
1349
 #include "confdefs.h"
1350
1350
 #include <termio.h>
1351
1351
 Autoconf TCGETA
1354
1354
   egrep "$ac_pattern" >/dev/null 2>&1; then
1355
1355
   rm -rf conftest*
1356
1356
   ac_cv_prog_gcc_traditional=yes
1357
 
@@ -5149,22 +5181,22 @@
 
1357
@@ -5165,22 +5197,22 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional
1358
1358
   if test $ac_cv_prog_gcc_traditional = yes; then
1359
1359
     CC="$CC -traditional"
1360
1360
   fi
1363
1363
 for ac_func in lchown strerror
1364
1364
 do
1365
1365
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1366
 
-echo "configure:5158: checking for $ac_func" >&5
1367
 
+echo "configure:5190: checking for $ac_func" >&5
 
1366
-echo "configure:5174: checking for $ac_func" >&5
 
1367
+echo "configure:5206: checking for $ac_func" >&5
1368
1368
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1369
1369
   echo $ac_n "(cached) $ac_c" 1>&6
1370
1370
 else
1371
1371
   cat > conftest.$ac_ext <<EOF
1372
 
-#line 5163 "configure"
1373
 
+#line 5195 "configure"
 
1372
-#line 5179 "configure"
 
1373
+#line 5211 "configure"
1374
1374
 #include "confdefs.h"
1375
1375
 /* System header to define __stub macros and hopefully few prototypes,
1376
1376
     which can conflict with char $ac_func(); below.  */
1379
1379
 /* We use char because int might match the return type of a gcc2
1380
1380
     builtin and then its argument prototype would still apply.  */
1381
1381
 char $ac_func();
1382
 
@@ -5177,17 +5209,17 @@
 
1382
@@ -5193,17 +5225,17 @@ int main() {
1383
1383
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1384
1384
 choke me
1385
1385
 #else
1388
1388
 
1389
1389
 ; return 0; }
1390
1390
 EOF
1391
 
-if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1392
 
+if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1391
-if { (eval echo configure:5202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1392
+if { (eval echo configure:5234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1393
1393
   rm -rf conftest*
1394
1394
   eval "ac_cv_func_$ac_func=yes"
1395
1395
 else
1398
1398
   rm -rf conftest*
1399
1399
   eval "ac_cv_func_$ac_func=no"
1400
1400
 fi
1401
 
@@ -5218,17 +5250,17 @@
 
1401
@@ -5234,17 +5266,17 @@ if test "${enable_strip+set}" = set; the
1402
1402
 fi
1403
1403
 
1404
1404
 
1407
1407
 if test -z "$GNU_CC"; then
1408
1408
 
1409
1409
     echo $ac_n "checking for +Olit support""... $ac_c" 1>&6
1410
 
-echo "configure:5227: checking for +Olit support" >&5
1411
 
+echo "configure:5259: checking for +Olit support" >&5
 
1410
-echo "configure:5243: checking for +Olit support" >&5
 
1411
+echo "configure:5275: checking for +Olit support" >&5
1412
1412
 if eval "test \"`echo '$''{'ac_cv_hpux_usable_olit_option'+set}'`\" = set"; then
1413
1413
   echo $ac_n "(cached) $ac_c" 1>&6
1414
1414
 else
1417
1417
         echo 'int main() { return 0; }' | cat > conftest.c
1418
1418
         ${CC-cc} ${CFLAGS} +Olit=all -o conftest conftest.c > conftest.out 2>&1
1419
1419
         if test $? -eq 0; then
1420
 
@@ -5257,17 +5289,17 @@
 
1420
@@ -5273,17 +5305,17 @@ esac
1421
1421
 
1422
1422
 case "$target_os" in
1423
1423
 darwin*)
1426
1426
 *)
1427
1427
     
1428
1428
 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
1429
 
-echo "configure:5266: checking for pthread_create in -lpthreads" >&5
1430
 
+echo "configure:5298: checking for pthread_create in -lpthreads" >&5
 
1429
-echo "configure:5282: checking for pthread_create in -lpthreads" >&5
 
1430
+echo "configure:5314: checking for pthread_create in -lpthreads" >&5
1431
1431
 echo "
1432
1432
     #include <pthread.h> 
1433
1433
     void *foo(void *v) { return v; } 
1436
1436
         if (!pthread_create(&t, 0, &foo, 0)) {
1437
1437
             pthread_join(t, 0);
1438
1438
         }
1439
 
@@ -5279,17 +5311,17 @@
 
1439
@@ -5295,17 +5327,17 @@ echo "
1440
1440
     rm -f dummy.c dummy${ac_exeext} ;
1441
1441
     if test "$_res" = "0"; then
1442
1442
         echo "$ac_t""yes" 1>&6
1445
1445
         echo "$ac_t""no" 1>&6
1446
1446
         
1447
1447
 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
1448
 
-echo "configure:5288: checking for pthread_create in -lpthread" >&5
1449
 
+echo "configure:5320: checking for pthread_create in -lpthread" >&5
 
1448
-echo "configure:5304: checking for pthread_create in -lpthread" >&5
 
1449
+echo "configure:5336: checking for pthread_create in -lpthread" >&5
1450
1450
 echo "
1451
1451
     #include <pthread.h> 
1452
1452
     void *foo(void *v) { return v; } 
1455
1455
         if (!pthread_create(&t, 0, &foo, 0)) {
1456
1456
             pthread_join(t, 0);
1457
1457
         }
1458
 
@@ -5301,17 +5333,17 @@
 
1458
@@ -5317,17 +5349,17 @@ echo "
1459
1459
     rm -f dummy.c dummy${ac_exeext} ;
1460
1460
     if test "$_res" = "0"; then
1461
1461
         echo "$ac_t""yes" 1>&6
1464
1464
         echo "$ac_t""no" 1>&6
1465
1465
         
1466
1466
 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
1467
 
-echo "configure:5310: checking for pthread_create in -lc_r" >&5
1468
 
+echo "configure:5342: checking for pthread_create in -lc_r" >&5
 
1467
-echo "configure:5326: checking for pthread_create in -lc_r" >&5
 
1468
+echo "configure:5358: checking for pthread_create in -lc_r" >&5
1469
1469
 echo "
1470
1470
     #include <pthread.h> 
1471
1471
     void *foo(void *v) { return v; } 
1474
1474
         if (!pthread_create(&t, 0, &foo, 0)) {
1475
1475
             pthread_join(t, 0);
1476
1476
         }
1477
 
@@ -5323,17 +5355,17 @@
 
1477
@@ -5339,17 +5371,17 @@ echo "
1478
1478
     rm -f dummy.c dummy${ac_exeext} ;
1479
1479
     if test "$_res" = "0"; then
1480
1480
         echo "$ac_t""yes" 1>&6
1483
1483
         echo "$ac_t""no" 1>&6
1484
1484
         
1485
1485
 echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
1486
 
-echo "configure:5332: checking for pthread_create in -lc" >&5
1487
 
+echo "configure:5364: checking for pthread_create in -lc" >&5
 
1486
-echo "configure:5348: checking for pthread_create in -lc" >&5
 
1487
+echo "configure:5380: checking for pthread_create in -lc" >&5
1488
1488
 echo "
1489
1489
     #include <pthread.h> 
1490
1490
     void *foo(void *v) { return v; } 
1493
1493
         if (!pthread_create(&t, 0, &foo, 0)) {
1494
1494
             pthread_join(t, 0);
1495
1495
         }
1496
 
@@ -5455,17 +5487,17 @@
 
1496
@@ -5471,17 +5503,17 @@ EOF
1497
1497
     fi
1498
1498
 fi
1499
1499
 
1502
1502
       rm -f conftest*
1503
1503
    ac_cv_have_dash_pthread=no
1504
1504
    echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
1505
 
-echo "configure:5464: checking whether ${CC-cc} accepts -pthread" >&5
1506
 
+echo "configure:5496: checking whether ${CC-cc} accepts -pthread" >&5
 
1505
-echo "configure:5480: checking whether ${CC-cc} accepts -pthread" >&5
 
1506
+echo "configure:5512: checking whether ${CC-cc} accepts -pthread" >&5
1507
1507
    echo 'int main() { return 0; }' | cat > conftest.c
1508
1508
    ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
1509
1509
    if test $? -eq 0; then
1512
1512
                case "$target_os" in
1513
1513
            freebsd*)
1514
1514
 # Freebsd doesn't use -pthread for compiles, it uses them for linking
1515
 
@@ -5478,17 +5510,17 @@
 
1515
@@ -5494,17 +5526,17 @@ echo "configure:5480: checking whether $
1516
1516
        fi
1517
1517
     fi
1518
1518
     rm -f conftest*
1521
1521
                            ac_cv_have_dash_pthreads=no
1522
1522
     if test "$ac_cv_have_dash_pthread" = "no"; then
1523
1523
            echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
1524
 
-echo "configure:5487: checking whether ${CC-cc} accepts -pthreads" >&5
1525
 
+echo "configure:5519: checking whether ${CC-cc} accepts -pthreads" >&5
 
1524
-echo "configure:5503: checking whether ${CC-cc} accepts -pthreads" >&5
 
1525
+echo "configure:5535: checking whether ${CC-cc} accepts -pthreads" >&5
1526
1526
        echo 'int main() { return 0; }' | cat > conftest.c
1527
1527
            ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
1528
1528
        if test $? -eq 0; then
1531
1531
                            CFLAGS="$CFLAGS -pthreads"
1532
1532
                            CXXFLAGS="$CXXFLAGS -pthreads"
1533
1533
                    fi
1534
 
@@ -5894,16 +5926,17 @@
 
1534
@@ -5910,16 +5942,17 @@ esac
1535
1535
 
1536
1536
 MAKEFILES="
1537
1537
 Makefile 
1549
1549
 lib/tests/Makefile
1550
1550
 pkg/Makefile
1551
1551
 pkg/linux/Makefile
1552
 
@@ -6011,17 +6044,17 @@
 
1552
@@ -6027,17 +6060,17 @@ trap 'rm -f $CONFIG_STATUS conftest*; ex
1553
1553
 # Protect against Makefile macro expansion.
1554
1554
 cat > conftest.defs <<\EOF
1555
1555
 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g