1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Build: Change quoting style from `...' to '...'.

This commit is contained in:
Jia Tan 2023-09-24 22:09:16 +08:00
parent ce162db07f
commit be012b8097
5 changed files with 15 additions and 15 deletions

View file

@ -310,7 +310,7 @@ case $enable_microlzma in
;; ;;
*) *)
AC_MSG_RESULT([]) AC_MSG_RESULT([])
AC_MSG_ERROR([--enable-microlzma accepts only `yes' or `no'.]) AC_MSG_ERROR([--enable-microlzma accepts only 'yes' or 'no'.])
;; ;;
esac esac
AM_CONDITIONAL(COND_MICROLZMA, test "x$enable_microlzma" = xyes) AM_CONDITIONAL(COND_MICROLZMA, test "x$enable_microlzma" = xyes)
@ -364,7 +364,7 @@ case $enable_assembler in
;; ;;
*) *)
AC_MSG_RESULT([]) AC_MSG_RESULT([])
AC_MSG_ERROR([--enable-assembler accepts only `yes', `no', or `x86' (32-bit).]) AC_MSG_ERROR([--enable-assembler accepts only 'yes', 'no', or 'x86' (32-bit).])
;; ;;
esac esac
AM_CONDITIONAL(COND_ASM_X86, test "x$enable_assembler" = xx86) AM_CONDITIONAL(COND_ASM_X86, test "x$enable_assembler" = xx86)
@ -393,7 +393,7 @@ if test "x$enable_small" = xyes; then
AC_DEFINE([HAVE_SMALL], [1], [Define to 1 if optimizing for size.]) AC_DEFINE([HAVE_SMALL], [1], [Define to 1 if optimizing for size.])
elif test "x$enable_small" != xno; then elif test "x$enable_small" != xno; then
AC_MSG_RESULT([]) AC_MSG_RESULT([])
AC_MSG_ERROR([--enable-small accepts only `yes' or `no']) AC_MSG_ERROR([--enable-small accepts only 'yes' or 'no'])
fi fi
AC_MSG_RESULT([$enable_small]) AC_MSG_RESULT([$enable_small])
AM_CONDITIONAL(COND_SMALL, test "x$enable_small" = xyes) AM_CONDITIONAL(COND_SMALL, test "x$enable_small" = xyes)
@ -405,8 +405,8 @@ AM_CONDITIONAL(COND_SMALL, test "x$enable_small" = xyes)
AC_MSG_CHECKING([if threading support is wanted]) AC_MSG_CHECKING([if threading support is wanted])
AC_ARG_ENABLE([threads], AS_HELP_STRING([--enable-threads=METHOD], AC_ARG_ENABLE([threads], AS_HELP_STRING([--enable-threads=METHOD],
[Supported METHODS are `yes', `no', `posix', `win95', and [Supported METHODS are 'yes', 'no', 'posix', 'win95', and
`vista'. The default is `yes'. Using `no' together with 'vista'. The default is 'yes'. Using 'no' together with
--enable-small makes liblzma thread unsafe.]), --enable-small makes liblzma thread unsafe.]),
[], [enable_threads=yes]) [], [enable_threads=yes])
@ -433,7 +433,7 @@ case $enable_threads in
;; ;;
*) *)
AC_MSG_RESULT([]) AC_MSG_RESULT([])
AC_MSG_ERROR([--enable-threads only accepts `yes', `no', `posix', `win95', or `vista']) AC_MSG_ERROR([--enable-threads only accepts 'yes', 'no', 'posix', 'win95', or 'vista'])
;; ;;
esac esac
@ -519,8 +519,8 @@ AM_CONDITIONAL([COND_DOC], [test x$enable_doc != xno])
AC_MSG_CHECKING([if sandboxing should be used]) AC_MSG_CHECKING([if sandboxing should be used])
AC_ARG_ENABLE([sandbox], [AS_HELP_STRING([--enable-sandbox=METHOD], AC_ARG_ENABLE([sandbox], [AS_HELP_STRING([--enable-sandbox=METHOD],
[Sandboxing METHOD can be [Sandboxing METHOD can be
`auto', `no', `capsicum', or `pledge'. 'auto', 'no', 'capsicum', or 'pledge'.
The default is `auto' which enables sandboxing if The default is 'auto' which enables sandboxing if
a supported sandboxing method is found.])], a supported sandboxing method is found.])],
[], [enable_sandbox=auto]) [], [enable_sandbox=auto])
case $enable_sandbox in case $enable_sandbox in
@ -532,7 +532,7 @@ case $enable_sandbox in
;; ;;
*) *)
AC_MSG_RESULT([]) AC_MSG_RESULT([])
AC_MSG_ERROR([--enable-sandbox only accepts `auto', `no', `capsicum', or `pledge'.]) AC_MSG_ERROR([--enable-sandbox only accepts 'auto', 'no', 'capsicum', or 'pledge'.])
;; ;;
esac esac

View file

@ -115,14 +115,14 @@
/* Define to 1 if you have the <sys/time.h> header file. */ /* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the `utimes' function. */ /* Define to 1 if you have the 'utimes' function. */
#define HAVE_UTIMES 1 #define HAVE_UTIMES 1
/* Define to 1 or 0, depending whether the compiler supports simple visibility /* Define to 1 or 0, depending whether the compiler supports simple visibility
declarations. */ declarations. */
#define HAVE_VISIBILITY 0 #define HAVE_VISIBILITY 0
/* Define to 1 if the system has the type `_Bool'. */ /* Define to 1 if the system has the type '_Bool'. */
#define HAVE__BOOL 1 #define HAVE__BOOL 1
/* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. /* Define to 1 if the GNU C extension __builtin_assume_aligned is supported.
@ -145,7 +145,7 @@
/* Define to the home page for this package. */ /* Define to the home page for this package. */
#define PACKAGE_URL "https://tukaani.org/xz/" #define PACKAGE_URL "https://tukaani.org/xz/"
/* The size of `size_t', as computed by sizeof. */ /* The size of 'size_t', as computed by sizeof. */
#define SIZEOF_SIZE_T 4 #define SIZEOF_SIZE_T 4
/* Define to 1 if the system supports fast unaligned access to 16-bit and /* Define to 1 if the system supports fast unaligned access to 16-bit and

View file

@ -47,7 +47,7 @@ AC_DEFUN([gl_GETOPT_CHECK_HEADERS],
dnl the next version of POSIX. We don't use that feature, so this dnl the next version of POSIX. We don't use that feature, so this
dnl is not a problem for us. Thus, the respective test was removed here. dnl is not a problem for us. Thus, the respective test was removed here.
dnl Checks for getopt handling `-' as a leading character in an option dnl Checks for getopt handling '-' as a leading character in an option
dnl string were removed, since we also don't use that feature. dnl string were removed, since we also don't use that feature.
]) ])

View file

@ -23,6 +23,6 @@ AC_DEFUN_ONCE([TUKLIB_PROGNAME], [
AC_REQUIRE([TUKLIB_COMMON]) AC_REQUIRE([TUKLIB_COMMON])
AC_CHECK_DECL([program_invocation_name], [AC_DEFINE( AC_CHECK_DECL([program_invocation_name], [AC_DEFINE(
[HAVE_PROGRAM_INVOCATION_NAME], [1], [HAVE_PROGRAM_INVOCATION_NAME], [1],
[Define to 1 if `program_invocation_name' is declared in <errno.h>.])], [Define to 1 if 'program_invocation_name' is declared in <errno.h>.])],
[], [#include <errno.h>]) [], [#include <errno.h>])
])dnl ])dnl

View file

@ -125,7 +125,7 @@ txtcp()
shift 2 shift 2
for SRCFILE; do for SRCFILE; do
DESTFILE="$DESTDIR/${SRCFILE##*/}$SUFFIX" DESTFILE="$DESTDIR/${SRCFILE##*/}$SUFFIX"
echo "Converting \`$SRCFILE' -> \`$DESTFILE'" echo "Converting '$SRCFILE' -> '$DESTFILE'"
u2d < "$SRCFILE" > "$DESTFILE" u2d < "$SRCFILE" > "$DESTFILE"
done done
} }