@@ -2008,6 +2008,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008
2008
2009
2009
2010
2010
2011
+
2011
2012
ac_aux_dir=
2012
2013
for ac_dir in config "$srcdir"/config; do
2013
2014
if test -f "$ac_dir/install-sh"; then
@@ -14693,63 +14694,6 @@ cat >>confdefs.h <<\_ACEOF
14693
14694
#define signed /**/
14694
14695
_ACEOF
14695
14696
14696
- fi
14697
- { $as_echo "$as_me:$LINENO: checking for long long type" >&5
14698
- $as_echo_n "checking for long long type... " >&6; }
14699
- if test "${pgac_cv_c_long_long+set}" = set; then
14700
- $as_echo_n "(cached) " >&6
14701
- else
14702
- cat >conftest.$ac_ext <<_ACEOF
14703
- /* confdefs.h. */
14704
- _ACEOF
14705
- cat confdefs.h >>conftest.$ac_ext
14706
- cat >>conftest.$ac_ext <<_ACEOF
14707
- /* end confdefs.h. */
14708
-
14709
- int
14710
- main ()
14711
- {
14712
- long long l;
14713
- ;
14714
- return 0;
14715
- }
14716
- _ACEOF
14717
- rm -f conftest.$ac_objext
14718
- if { (ac_try="$ac_compile"
14719
- case "(($ac_try" in
14720
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14721
- *) ac_try_echo=$ac_try;;
14722
- esac
14723
- eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14724
- $as_echo "$ac_try_echo") >&5
14725
- (eval "$ac_compile") 2>conftest.er1
14726
- ac_status=$?
14727
- grep -v '^ *+' conftest.er1 >conftest.err
14728
- rm -f conftest.er1
14729
- cat conftest.err >&5
14730
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731
- (exit $ac_status); } && {
14732
- test -z "$ac_c_werror_flag" ||
14733
- test ! -s conftest.err
14734
- } && test -s conftest.$ac_objext; then
14735
- pgac_cv_c_long_long=yes
14736
- else
14737
- $as_echo "$as_me: failed program was:" >&5
14738
- sed 's/^/| /' conftest.$ac_ext >&5
14739
-
14740
- pgac_cv_c_long_long=no
14741
- fi
14742
-
14743
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14744
- fi
14745
- { $as_echo "$as_me:$LINENO: result: $pgac_cv_c_long_long" >&5
14746
- $as_echo "$pgac_cv_c_long_long" >&6; }
14747
- if test x"$pgac_cv_c_long_long" = xyes ; then
14748
-
14749
- cat >>confdefs.h <<\_ACEOF
14750
- #define HAVE_LONG_LONG 1
14751
- _ACEOF
14752
-
14753
14697
fi
14754
14698
{ $as_echo "$as_me:$LINENO: checking for working volatile" >&5
14755
14699
$as_echo_n "checking for working volatile... " >&6; }
@@ -16505,6 +16449,159 @@ fi
16505
16449
16506
16450
16507
16451
16452
+ { $as_echo "$as_me:$LINENO: checking for long long int" >&5
16453
+ $as_echo_n "checking for long long int... " >&6; }
16454
+ if test "${ac_cv_type_long_long_int+set}" = set; then
16455
+ $as_echo_n "(cached) " >&6
16456
+ else
16457
+ cat >conftest.$ac_ext <<_ACEOF
16458
+
16459
+ /* confdefs.h. */
16460
+ _ACEOF
16461
+ cat confdefs.h >>conftest.$ac_ext
16462
+ cat >>conftest.$ac_ext <<_ACEOF
16463
+ /* end confdefs.h. */
16464
+ /* For now, do not test the preprocessor; as of 2007 there are too many
16465
+ implementations with broken preprocessors. Perhaps this can
16466
+ be revisited in 2012. In the meantime, code should not expect
16467
+ #if to work with literals wider than 32 bits. */
16468
+ /* Test literals. */
16469
+ long long int ll = 9223372036854775807ll;
16470
+ long long int nll = -9223372036854775807LL;
16471
+ unsigned long long int ull = 18446744073709551615ULL;
16472
+ /* Test constant expressions. */
16473
+ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
16474
+ ? 1 : -1)];
16475
+ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
16476
+ ? 1 : -1)];
16477
+ int i = 63;
16478
+ int
16479
+ main ()
16480
+ {
16481
+ /* Test availability of runtime routines for shift and division. */
16482
+ long long int llmax = 9223372036854775807ll;
16483
+ unsigned long long int ullmax = 18446744073709551615ull;
16484
+ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
16485
+ | (llmax / ll) | (llmax % ll)
16486
+ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
16487
+ | (ullmax / ull) | (ullmax % ull));
16488
+ ;
16489
+ return 0;
16490
+ }
16491
+
16492
+ _ACEOF
16493
+ rm -f conftest.$ac_objext conftest$ac_exeext
16494
+ if { (ac_try="$ac_link"
16495
+ case "(($ac_try" in
16496
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16497
+ *) ac_try_echo=$ac_try;;
16498
+ esac
16499
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16500
+ $as_echo "$ac_try_echo") >&5
16501
+ (eval "$ac_link") 2>conftest.er1
16502
+ ac_status=$?
16503
+ grep -v '^ *+' conftest.er1 >conftest.err
16504
+ rm -f conftest.er1
16505
+ cat conftest.err >&5
16506
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507
+ (exit $ac_status); } && {
16508
+ test -z "$ac_c_werror_flag" ||
16509
+ test ! -s conftest.err
16510
+ } && test -s conftest$ac_exeext && {
16511
+ test "$cross_compiling" = yes ||
16512
+ $as_test_x conftest$ac_exeext
16513
+ }; then
16514
+ if test "$cross_compiling" = yes; then
16515
+ ac_cv_type_long_long_int=yes
16516
+ else
16517
+ cat >conftest.$ac_ext <<_ACEOF
16518
+ /* confdefs.h. */
16519
+ _ACEOF
16520
+ cat confdefs.h >>conftest.$ac_ext
16521
+ cat >>conftest.$ac_ext <<_ACEOF
16522
+ /* end confdefs.h. */
16523
+ #include <limits.h>
16524
+ #ifndef LLONG_MAX
16525
+ # define HALF \
16526
+ (1LL << (sizeof (long long int) * CHAR_BIT - 2))
16527
+ # define LLONG_MAX (HALF - 1 + HALF)
16528
+ #endif
16529
+ int
16530
+ main ()
16531
+ {
16532
+ long long int n = 1;
16533
+ int i;
16534
+ for (i = 0; ; i++)
16535
+ {
16536
+ long long int m = n << i;
16537
+ if (m >> i != n)
16538
+ return 1;
16539
+ if (LLONG_MAX / 2 < m)
16540
+ break;
16541
+ }
16542
+ return 0;
16543
+ ;
16544
+ return 0;
16545
+ }
16546
+ _ACEOF
16547
+ rm -f conftest$ac_exeext
16548
+ if { (ac_try="$ac_link"
16549
+ case "(($ac_try" in
16550
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16551
+ *) ac_try_echo=$ac_try;;
16552
+ esac
16553
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16554
+ $as_echo "$ac_try_echo") >&5
16555
+ (eval "$ac_link") 2>&5
16556
+ ac_status=$?
16557
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16559
+ { (case "(($ac_try" in
16560
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16561
+ *) ac_try_echo=$ac_try;;
16562
+ esac
16563
+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16564
+ $as_echo "$ac_try_echo") >&5
16565
+ (eval "$ac_try") 2>&5
16566
+ ac_status=$?
16567
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568
+ (exit $ac_status); }; }; then
16569
+ ac_cv_type_long_long_int=yes
16570
+ else
16571
+ $as_echo "$as_me: program exited with status $ac_status" >&5
16572
+ $as_echo "$as_me: failed program was:" >&5
16573
+ sed 's/^/| /' conftest.$ac_ext >&5
16574
+
16575
+ ( exit $ac_status )
16576
+ ac_cv_type_long_long_int=no
16577
+ fi
16578
+ rm -rf conftest.dSYM
16579
+ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16580
+ fi
16581
+
16582
+
16583
+ else
16584
+ $as_echo "$as_me: failed program was:" >&5
16585
+ sed 's/^/| /' conftest.$ac_ext >&5
16586
+
16587
+ ac_cv_type_long_long_int=no
16588
+ fi
16589
+
16590
+ rm -rf conftest.dSYM
16591
+ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16592
+ conftest$ac_exeext conftest.$ac_ext
16593
+ fi
16594
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
16595
+ $as_echo "$ac_cv_type_long_long_int" >&6; }
16596
+ if test $ac_cv_type_long_long_int = yes; then
16597
+
16598
+ cat >>confdefs.h <<\_ACEOF
16599
+ #define HAVE_LONG_LONG_INT 1
16600
+ _ACEOF
16601
+
16602
+ fi
16603
+
16604
+
16508
16605
{ $as_echo "$as_me:$LINENO: checking for struct cmsgcred" >&5
16509
16606
$as_echo_n "checking for struct cmsgcred... " >&6; }
16510
16607
if test "${ac_cv_type_struct_cmsgcred+set}" = set; then
0 commit comments