@@ -1481,7 +1481,7 @@ else
1481
1481
if { (eval echo configure:1482: \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; }; then
1482
1482
for file in conftest.* ; do
1483
1483
case $file in
1484
- * .c | * .C | * . o | * .obj) ;;
1484
+ * .c | * .o | * .obj) ;;
1485
1485
* ) ac_cv_exeext=` echo $file | sed -e s/conftest//` ;;
1486
1486
esac
1487
1487
done
@@ -8279,13 +8279,173 @@ cat >> confdefs.h <<EOF
8279
8279
EOF
8280
8280
8281
8281
8282
+ # Some platforms predefine the types int8, int16, etc. Only check
8283
+ # a (hopefully) representative subset. Don't use AC_CHECK_TYPE, which
8284
+ # doesn't work the way we want to.
8285
+ echo $ac_n " checking size of int8" " ... $ac_c " 1>&6
8286
+ echo " configure:8287: checking size of int8" >&5
8287
+ if eval " test \" ` echo ' $' ' {' ac_cv_sizeof_int8' +set}' ` \" = set" ; then
8288
+ echo $ac_n " (cached) $ac_c " 1>&6
8289
+ else
8290
+ if test " $cross_compiling " = yes; then
8291
+ ac_cv_sizeof_int8=0
8292
+ else
8293
+ cat > conftest.$ac_ext << EOF
8294
+ #line 8295 "configure"
8295
+ #include "confdefs.h"
8296
+ #include <stdio.h>
8297
+ main()
8298
+ {
8299
+ FILE *f=fopen("conftestval", "w");
8300
+ if (!f) exit(1);
8301
+ fprintf(f, "%d\n", sizeof(int8));
8302
+ exit(0);
8303
+ }
8304
+ EOF
8305
+ if { (eval echo configure:8306: \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest${ac_exeext} && (./conftest; exit) 2> /dev/null
8306
+ then
8307
+ ac_cv_sizeof_int8=` cat conftestval`
8308
+ else
8309
+ echo " configure: failed program was:" >&5
8310
+ cat conftest.$ac_ext >&5
8311
+ rm -fr conftest*
8312
+ ac_cv_sizeof_int8=0
8313
+ fi
8314
+ rm -fr conftest*
8315
+ fi
8316
+
8317
+ fi
8318
+ echo " $ac_t " " $ac_cv_sizeof_int8 " 1>&6
8319
+ cat >> confdefs.h << EOF
8320
+ #define SIZEOF_INT8 $ac_cv_sizeof_int8
8321
+ EOF
8322
+
8323
+
8324
+ echo $ac_n " checking size of uint8" " ... $ac_c " 1>&6
8325
+ echo " configure:8326: checking size of uint8" >&5
8326
+ if eval " test \" ` echo ' $' ' {' ac_cv_sizeof_uint8' +set}' ` \" = set" ; then
8327
+ echo $ac_n " (cached) $ac_c " 1>&6
8328
+ else
8329
+ if test " $cross_compiling " = yes; then
8330
+ ac_cv_sizeof_uint8=0
8331
+ else
8332
+ cat > conftest.$ac_ext << EOF
8333
+ #line 8334 "configure"
8334
+ #include "confdefs.h"
8335
+ #include <stdio.h>
8336
+ main()
8337
+ {
8338
+ FILE *f=fopen("conftestval", "w");
8339
+ if (!f) exit(1);
8340
+ fprintf(f, "%d\n", sizeof(uint8));
8341
+ exit(0);
8342
+ }
8343
+ EOF
8344
+ if { (eval echo configure:8345: \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest${ac_exeext} && (./conftest; exit) 2> /dev/null
8345
+ then
8346
+ ac_cv_sizeof_uint8=` cat conftestval`
8347
+ else
8348
+ echo " configure: failed program was:" >&5
8349
+ cat conftest.$ac_ext >&5
8350
+ rm -fr conftest*
8351
+ ac_cv_sizeof_uint8=0
8352
+ fi
8353
+ rm -fr conftest*
8354
+ fi
8355
+
8356
+ fi
8357
+ echo " $ac_t " " $ac_cv_sizeof_uint8 " 1>&6
8358
+ cat >> confdefs.h << EOF
8359
+ #define SIZEOF_UINT8 $ac_cv_sizeof_uint8
8360
+ EOF
8361
+
8362
+
8363
+ echo $ac_n " checking size of int64" " ... $ac_c " 1>&6
8364
+ echo " configure:8365: checking size of int64" >&5
8365
+ if eval " test \" ` echo ' $' ' {' ac_cv_sizeof_int64' +set}' ` \" = set" ; then
8366
+ echo $ac_n " (cached) $ac_c " 1>&6
8367
+ else
8368
+ if test " $cross_compiling " = yes; then
8369
+ ac_cv_sizeof_int64=0
8370
+ else
8371
+ cat > conftest.$ac_ext << EOF
8372
+ #line 8373 "configure"
8373
+ #include "confdefs.h"
8374
+ #include <stdio.h>
8375
+ main()
8376
+ {
8377
+ FILE *f=fopen("conftestval", "w");
8378
+ if (!f) exit(1);
8379
+ fprintf(f, "%d\n", sizeof(int64));
8380
+ exit(0);
8381
+ }
8382
+ EOF
8383
+ if { (eval echo configure:8384: \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest${ac_exeext} && (./conftest; exit) 2> /dev/null
8384
+ then
8385
+ ac_cv_sizeof_int64=` cat conftestval`
8386
+ else
8387
+ echo " configure: failed program was:" >&5
8388
+ cat conftest.$ac_ext >&5
8389
+ rm -fr conftest*
8390
+ ac_cv_sizeof_int64=0
8391
+ fi
8392
+ rm -fr conftest*
8393
+ fi
8394
+
8395
+ fi
8396
+ echo " $ac_t " " $ac_cv_sizeof_int64 " 1>&6
8397
+ cat >> confdefs.h << EOF
8398
+ #define SIZEOF_INT64 $ac_cv_sizeof_int64
8399
+ EOF
8400
+
8401
+
8402
+ echo $ac_n " checking size of uint64" " ... $ac_c " 1>&6
8403
+ echo " configure:8404: checking size of uint64" >&5
8404
+ if eval " test \" ` echo ' $' ' {' ac_cv_sizeof_uint64' +set}' ` \" = set" ; then
8405
+ echo $ac_n " (cached) $ac_c " 1>&6
8406
+ else
8407
+ if test " $cross_compiling " = yes; then
8408
+ ac_cv_sizeof_uint64=0
8409
+ else
8410
+ cat > conftest.$ac_ext << EOF
8411
+ #line 8412 "configure"
8412
+ #include "confdefs.h"
8413
+ #include <stdio.h>
8414
+ main()
8415
+ {
8416
+ FILE *f=fopen("conftestval", "w");
8417
+ if (!f) exit(1);
8418
+ fprintf(f, "%d\n", sizeof(uint64));
8419
+ exit(0);
8420
+ }
8421
+ EOF
8422
+ if { (eval echo configure:8423: \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest${ac_exeext} && (./conftest; exit) 2> /dev/null
8423
+ then
8424
+ ac_cv_sizeof_uint64=` cat conftestval`
8425
+ else
8426
+ echo " configure: failed program was:" >&5
8427
+ cat conftest.$ac_ext >&5
8428
+ rm -fr conftest*
8429
+ ac_cv_sizeof_uint64=0
8430
+ fi
8431
+ rm -fr conftest*
8432
+ fi
8433
+
8434
+ fi
8435
+ echo " $ac_t " " $ac_cv_sizeof_uint64 " 1>&6
8436
+ cat >> confdefs.h << EOF
8437
+ #define SIZEOF_UINT64 $ac_cv_sizeof_uint64
8438
+ EOF
8439
+
8440
+
8441
+
8282
8442
echo $ac_n " checking for POSIX signal interface" " ... $ac_c " 1>&6
8283
- echo " configure:8284 : checking for POSIX signal interface" >&5
8443
+ echo " configure:8444 : checking for POSIX signal interface" >&5
8284
8444
if eval " test \" ` echo ' $' ' {' pgac_cv_func_posix_signals' +set}' ` \" = set" ; then
8285
8445
echo $ac_n " (cached) $ac_c " 1>&6
8286
8446
else
8287
8447
cat > conftest.$ac_ext << EOF
8288
- #line 8289 "configure"
8448
+ #line 8449 "configure"
8289
8449
#include "confdefs.h"
8290
8450
#include <signal.h>
8291
8451
@@ -8296,7 +8456,7 @@ act.sa_flags = SA_RESTART;
8296
8456
sigaction(0, &act, &oact);
8297
8457
; return 0; }
8298
8458
EOF
8299
- if { (eval echo configure:8300 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest${ac_exeext} ; then
8459
+ if { (eval echo configure:8460 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest${ac_exeext} ; then
8300
8460
rm -rf conftest*
8301
8461
pgac_cv_func_posix_signals=yes
8302
8462
else
8326
8486
# Extract the first word of "$ac_prog", so it can be a program name with args.
8327
8487
set dummy $ac_prog ; ac_word=$2
8328
8488
echo $ac_n " checking for $ac_word " " ... $ac_c " 1>&6
8329
- echo " configure:8330 : checking for $ac_word " >&5
8489
+ echo " configure:8490 : checking for $ac_word " >&5
8330
8490
if eval " test \" ` echo ' $' ' {' ac_cv_path_TCLSH' +set}' ` \" = set" ; then
8331
8491
echo $ac_n " (cached) $ac_c " 1>&6
8332
8492
else
@@ -8362,7 +8522,7 @@ test -n "$TCLSH" && break
8362
8522
done
8363
8523
8364
8524
echo $ac_n " checking for tclConfig.sh" " ... $ac_c " 1>&6
8365
- echo " configure:8366 : checking for tclConfig.sh" >&5
8525
+ echo " configure:8526 : checking for tclConfig.sh" >&5
8366
8526
# Let user override test
8367
8527
if test -z " $TCL_CONFIG_SH " ; then
8368
8528
pgac_test_dirs=" $with_tclconfig "
8395
8555
# Check for Tk configuration script tkConfig.sh
8396
8556
if test " $with_tk " = yes; then
8397
8557
echo $ac_n " checking for tkConfig.sh" " ... $ac_c " 1>&6
8398
- echo " configure:8399 : checking for tkConfig.sh" >&5
8558
+ echo " configure:8559 : checking for tkConfig.sh" >&5
8399
8559
# Let user override test
8400
8560
if test -z " $TK_CONFIG_SH " ; then
8401
8561
pgac_test_dirs=" $with_tkconfig $with_tclconfig "
8434
8594
# Extract the first word of "$ac_prog", so it can be a program name with args.
8435
8595
set dummy $ac_prog ; ac_word=$2
8436
8596
echo $ac_n " checking for $ac_word " " ... $ac_c " 1>&6
8437
- echo " configure:8438 : checking for $ac_word " >&5
8597
+ echo " configure:8598 : checking for $ac_word " >&5
8438
8598
if eval " test \" ` echo ' $' ' {' ac_cv_prog_NSGMLS' +set}' ` \" = set" ; then
8439
8599
echo $ac_n " (cached) $ac_c " 1>&6
8440
8600
else
8470
8630
# Extract the first word of "$ac_prog", so it can be a program name with args.
8471
8631
set dummy $ac_prog ; ac_word=$2
8472
8632
echo $ac_n " checking for $ac_word " " ... $ac_c " 1>&6
8473
- echo " configure:8474 : checking for $ac_word " >&5
8633
+ echo " configure:8634 : checking for $ac_word " >&5
8474
8634
if eval " test \" ` echo ' $' ' {' ac_cv_prog_JADE' +set}' ` \" = set" ; then
8475
8635
echo $ac_n " (cached) $ac_c " 1>&6
8476
8636
else
@@ -8501,7 +8661,7 @@ done
8501
8661
8502
8662
8503
8663
echo $ac_n " checking for DocBook V3.1" " ... $ac_c " 1>&6
8504
- echo " configure:8505 : checking for DocBook V3.1" >&5
8664
+ echo " configure:8665 : checking for DocBook V3.1" >&5
8505
8665
if eval " test \" ` echo ' $' ' {' pgac_cv_check_docbook' +set}' ` \" = set" ; then
8506
8666
echo $ac_n " (cached) $ac_c " 1>&6
8507
8667
else
@@ -8534,7 +8694,7 @@ have_docbook=$pgac_cv_check_docbook
8534
8694
8535
8695
8536
8696
echo $ac_n " checking for DocBook stylesheets" " ... $ac_c " 1>&6
8537
- echo " configure:8538 : checking for DocBook stylesheets" >&5
8697
+ echo " configure:8698 : checking for DocBook stylesheets" >&5
8538
8698
if eval " test \" ` echo ' $' ' {' pgac_cv_path_stylesheets' +set}' ` \" = set" ; then
8539
8699
echo $ac_n " (cached) $ac_c " 1>&6
8540
8700
else
8573
8733
# Extract the first word of "$ac_prog", so it can be a program name with args.
8574
8734
set dummy $ac_prog ; ac_word=$2
8575
8735
echo $ac_n " checking for $ac_word " " ... $ac_c " 1>&6
8576
- echo " configure:8577 : checking for $ac_word " >&5
8736
+ echo " configure:8737 : checking for $ac_word " >&5
8577
8737
if eval " test \" ` echo ' $' ' {' ac_cv_prog_SGMLSPL' +set}' ` \" = set" ; then
8578
8738
echo $ac_n " (cached) $ac_c " 1>&6
8579
8739
else
0 commit comments