Changeset 3783


Ignore:
Timestamp:
Jan 9, 2019, 6:08:42 AM (3 years ago)
Author:
Peter
Message:

upgrade to autoconf-archive-2019.01.06 also files not used in configure.ac
Modify _YAT_AC_APPEND_TO_FILE to match changes in AX_AC_APPEND_TO_FILE

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/ax_ac_append_to_file.m4

    r2724 r3783  
    11# ===========================================================================
    2 #   http://www.gnu.org/software/autoconf-archive/ax_ac_append_to_file.html
     2#   https://www.gnu.org/software/autoconf-archive/ax_ac_append_to_file.html
    33# ===========================================================================
    44#
     
    2121#   warranty.
    2222
    23 #serial 8
     23#serial 10
    2424
    2525AC_DEFUN([AX_AC_APPEND_TO_FILE],[
     
    2828AX_FILE_ESCAPES
    2929[
    30 printf "$2" >> "$1"
     30printf "%s" "$2" >> "$1"
    3131])
    3232])
  • trunk/m4/ax_ac_print_to_file.m4

    r2724 r3783  
    11# ===========================================================================
    2 #    http://www.gnu.org/software/autoconf-archive/ax_ac_print_to_file.html
     2#   https://www.gnu.org/software/autoconf-archive/ax_ac_print_to_file.html
    33# ===========================================================================
    44#
     
    2222#   warranty.
    2323
    24 #serial 8
     24#serial 10
    2525
    2626AC_DEFUN([AX_AC_PRINT_TO_FILE],[
     
    2828AC_REQUIRE([AX_FILE_ESCAPES])
    2929[
    30 printf "$2" > "$1"
     30printf "%s" "$2" > "$1"
    3131])
    3232])
  • trunk/m4/ax_file_escapes.m4

    r2724 r3783  
    11# ===========================================================================
    2 #      http://www.gnu.org/software/autoconf-archive/ax_file_escapes.html
     2#     https://www.gnu.org/software/autoconf-archive/ax_file_escapes.html
    33# ===========================================================================
    44#
     
    2020#   warranty.
    2121
    22 #serial 7
     22#serial 8
    2323
    2424AC_DEFUN([AX_FILE_ESCAPES],[
  • trunk/m4/yat_am_macros.m4

    r2807 r3783  
    239239AX_AC_APPEND_TO_FILE([$1],
    240240m4_bpatsubsts([$2], [\$], [${AX_DOLLAR}],
    241                     [\\], [${AX_BS}],
     241                    [\\], [\\\\],
    242242                    [\"], [${AX_DQ}]))
     243
    243244])
    244245
  • trunk/test/yat_svn_revision_test.sh

    r3114 r3783  
    4545test -r my_svn_revision.am || exit_fail
    4646
     47cat my_svn_revision.am
     48grep '$@-t \\\\' my_svn_revision.am && exit_fail
     49
    4750test -r my_revision || exit_fail
    4851
    4952./configure $configure_opts
    5053make
     54
     55grep '$@-t \\\\$' Makefile && exit_fail
     56
    5157exit_success;
Note: See TracChangeset for help on using the changeset viewer.