2
2
# config/c-compiler.m4
3
3
4
4
5
- # PGAC_C_PRINTF_ARCHETYPE
6
- # -----------------------
5
+ # PGAC_PRINTF_ARCHETYPE
6
+ # ---------------------
7
7
# Select the format archetype to be used by gcc to check printf-type functions.
8
8
# We prefer "gnu_printf", as that most closely matches the features supported
9
9
# by src/port/snprintf.c (particularly the %m conversion spec). However,
@@ -93,7 +93,7 @@ undefine([Ac_cachevar])dnl
93
93
94
94
95
95
# PGAC_TYPE_128BIT_INT
96
- # ---------------------
96
+ # --------------------
97
97
# Check if __int128 is a working 128 bit integer type, and if so
98
98
# define PG_INT128_TYPE to that typename, and define ALIGNOF_PG_INT128_TYPE
99
99
# as its alignment requirement.
@@ -282,7 +282,7 @@ fi])# PGAC_C_BUILTIN_CONSTANT_P
282
282
283
283
284
284
# PGAC_C_BUILTIN_OP_OVERFLOW
285
- # -------------------------
285
+ # --------------------------
286
286
# Check if the C compiler understands __builtin_$op_overflow(),
287
287
# and define HAVE__BUILTIN_OP_OVERFLOW if so.
288
288
#
@@ -331,7 +331,7 @@ fi])# PGAC_C_BUILTIN_UNREACHABLE
331
331
332
332
333
333
# PGAC_C_COMPUTED_GOTO
334
- # -----------------------
334
+ # --------------------
335
335
# Check if the C compiler knows computed gotos (gcc extension, also
336
336
# available in at least clang). If so, define HAVE_COMPUTED_GOTO.
337
337
#
@@ -382,7 +382,7 @@ fi])# PGAC_CHECK_BUILTIN_FUNC
382
382
383
383
384
384
# PGAC_PROG_VARCC_VARFLAGS_OPT
385
- # -----------------------
385
+ # ----------------------------
386
386
# Given a compiler, variable name and a string, check if the compiler
387
387
# supports the string as a command-line option. If it does, add the
388
388
# string to the given variable.
@@ -420,7 +420,7 @@ PGAC_PROG_VARCC_VARFLAGS_OPT(CC, CFLAGS, $1)
420
420
421
421
422
422
# PGAC_PROG_CC_VAR_OPT
423
- # -----------------------
423
+ # --------------------
424
424
# Given a variable name and a string, check if the compiler supports
425
425
# the string as a command-line option. If it does, add the string to
426
426
# the given variable.
@@ -431,7 +431,7 @@ AC_DEFUN([PGAC_PROG_CC_VAR_OPT],
431
431
432
432
433
433
# PGAC_PROG_VARCXX_VARFLAGS_OPT
434
- # -----------------------
434
+ # -----------------------------
435
435
# Given a compiler, variable name and a string, check if the compiler
436
436
# supports the string as a command-line option. If it does, add the
437
437
# string to the given variable.
@@ -461,12 +461,12 @@ undefine([Ac_cachevar])dnl
461
461
462
462
463
463
# PGAC_PROG_CXX_CFLAGS_OPT
464
- # -----------------------
464
+ # ------------------------
465
465
# Given a string, check if the compiler supports the string as a
466
466
# command-line option. If it does, add the string to CXXFLAGS.
467
467
AC_DEFUN ( [ PGAC_PROG_CXX_CFLAGS_OPT] ,
468
468
[ PGAC_PROG_VARCXX_VARFLAGS_OPT(CXX, CXXFLAGS, $1 )
469
- ] ) # PGAC_PROG_CXX_VAR_OPT
469
+ ] ) # PGAC_PROG_CXX_CFLAGS_OPT
470
470
471
471
472
472
@@ -494,7 +494,7 @@ undefine([Ac_cachevar])dnl
494
494
] ) # PGAC_PROG_CC_LDFLAGS_OPT
495
495
496
496
# PGAC_HAVE_GCC__SYNC_CHAR_TAS
497
- # -------------------------
497
+ # ----------------------------
498
498
# Check if the C compiler understands __sync_lock_test_and_set(char),
499
499
# and define HAVE_GCC__SYNC_CHAR_TAS
500
500
#
@@ -514,7 +514,7 @@ if test x"$pgac_cv_gcc_sync_char_tas" = x"yes"; then
514
514
fi] ) # PGAC_HAVE_GCC__SYNC_CHAR_TAS
515
515
516
516
# PGAC_HAVE_GCC__SYNC_INT32_TAS
517
- # -------------------------
517
+ # -----------------------------
518
518
# Check if the C compiler understands __sync_lock_test_and_set(),
519
519
# and define HAVE_GCC__SYNC_INT32_TAS
520
520
AC_DEFUN ( [ PGAC_HAVE_GCC__SYNC_INT32_TAS] ,
@@ -530,7 +530,7 @@ if test x"$pgac_cv_gcc_sync_int32_tas" = x"yes"; then
530
530
fi] ) # PGAC_HAVE_GCC__SYNC_INT32_TAS
531
531
532
532
# PGAC_HAVE_GCC__SYNC_INT32_CAS
533
- # -------------------------
533
+ # -----------------------------
534
534
# Check if the C compiler understands __sync_compare_and_swap() for 32bit
535
535
# types, and define HAVE_GCC__SYNC_INT32_CAS if so.
536
536
AC_DEFUN ( [ PGAC_HAVE_GCC__SYNC_INT32_CAS] ,
@@ -545,7 +545,7 @@ if test x"$pgac_cv_gcc_sync_int32_cas" = x"yes"; then
545
545
fi] ) # PGAC_HAVE_GCC__SYNC_INT32_CAS
546
546
547
547
# PGAC_HAVE_GCC__SYNC_INT64_CAS
548
- # -------------------------
548
+ # -----------------------------
549
549
# Check if the C compiler understands __sync_compare_and_swap() for 64bit
550
550
# types, and define HAVE_GCC__SYNC_INT64_CAS if so.
551
551
AC_DEFUN ( [ PGAC_HAVE_GCC__SYNC_INT64_CAS] ,
@@ -560,7 +560,7 @@ if test x"$pgac_cv_gcc_sync_int64_cas" = x"yes"; then
560
560
fi] ) # PGAC_HAVE_GCC__SYNC_INT64_CAS
561
561
562
562
# PGAC_HAVE_GCC__ATOMIC_INT32_CAS
563
- # -------------------------
563
+ # -------------------------------
564
564
# Check if the C compiler understands __atomic_compare_exchange_n() for 32bit
565
565
# types, and define HAVE_GCC__ATOMIC_INT32_CAS if so.
566
566
AC_DEFUN ( [ PGAC_HAVE_GCC__ATOMIC_INT32_CAS] ,
@@ -576,7 +576,7 @@ if test x"$pgac_cv_gcc_atomic_int32_cas" = x"yes"; then
576
576
fi] ) # PGAC_HAVE_GCC__ATOMIC_INT32_CAS
577
577
578
578
# PGAC_HAVE_GCC__ATOMIC_INT64_CAS
579
- # -------------------------
579
+ # -------------------------------
580
580
# Check if the C compiler understands __atomic_compare_exchange_n() for 64bit
581
581
# types, and define HAVE_GCC__ATOMIC_INT64_CAS if so.
582
582
AC_DEFUN ( [ PGAC_HAVE_GCC__ATOMIC_INT64_CAS] ,
@@ -592,7 +592,7 @@ if test x"$pgac_cv_gcc_atomic_int64_cas" = x"yes"; then
592
592
fi] ) # PGAC_HAVE_GCC__ATOMIC_INT64_CAS
593
593
594
594
# PGAC_SSE42_CRC32_INTRINSICS
595
- # -----------------------
595
+ # ---------------------------
596
596
# Check if the compiler supports the x86 CRC instructions added in SSE 4.2,
597
597
# using the _mm_crc32_u8 and _mm_crc32_u32 intrinsic functions. (We don't
598
598
# test the 8-byte variant, _mm_crc32_u64, but it is assumed to be present if
@@ -623,7 +623,7 @@ undefine([Ac_cachevar])dnl
623
623
624
624
625
625
# PGAC_ARMV8_CRC32C_INTRINSICS
626
- # -----------------------
626
+ # ----------------------------
627
627
# Check if the compiler supports the CRC32C instructions using the __crc32cb,
628
628
# __crc32ch, __crc32cw, and __crc32cd intrinsic functions. These instructions
629
629
# were first introduced in ARMv8 in the optional CRC Extension, and became
0 commit comments