Ignore:
Timestamp:
Nov 14, 2022, 12:24:38 PM (17 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
660715de78e3fdf9dcc3f9388b1a1c61ec1c2ec5
Parents:
f0d4bd4caae9db63763bba2f6c56156355628e8b
Message:
Revert "update m4/ax_*"

This reverts commit 96fc6774cff6a43918cd7ab4d12e66e053b43e91.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/ax_compute_relative_paths.m4

    rf0d4bd4 r3ca4d9c  
    1 # ==============================================================================
    2 #  https://www.gnu.org/software/autoconf-archive/ax_compute_relative_paths.html
    3 # ==============================================================================
     1# =============================================================================
     2#  http://www.gnu.org/software/autoconf-archive/ax_compute_relative_paths.html
     3# =============================================================================
    44#
    55# SYNOPSIS
     
    3434#   encode $bin_to_data and try to determine $bindir at run-time.
    3535#
    36 #   This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL.
     36#   This macro requires AX_NORMALIZE_PATH.
    3737#
    3838# LICENSE
     
    5151#
    5252#   You should have received a copy of the GNU General Public License along
    53 #   with this program. If not, see <https://www.gnu.org/licenses/>.
     53#   with this program. If not, see <http://www.gnu.org/licenses/>.
    5454#
    5555#   As a special exception, the respective Autoconf Macro's copyright owner
     
    6666#   exception to the GPL to apply to your modified version as well.
    6767
    68 #serial 12
     68#serial 6
    6969
    7070AU_ALIAS([ADL_COMPUTE_RELATIVE_PATHS], [AX_COMPUTE_RELATIVE_PATHS])
     
    9696dnl of $RESULT to that value.  This function work on raw filenames
    9797dnl (for instead it will considerate /usr//local and /usr/local as
    98 dnl two distinct paths), you should really use AX_COMPUTE_RELATIVE_PATHS
     98dnl two distinct paths), you should really use AX_COMPUTE_REALTIVE_PATHS
    9999dnl instead to have the paths sanitized automatically.
    100100dnl
     
    136136dnl AX_COMPUTE_SUFFIX_PATH(PATH, SUBPATH, RESULT)
    137137dnl ==============================================
    138 dnl Subtract $SUBPATH from $PATH, and set the resulting suffix
     138dnl Substrack $SUBPATH from $PATH, and set the resulting suffix
    139139dnl (or the empty string if $SUBPATH is not a subpath of $PATH)
    140140dnl to $RESULT.
    141141dnl
    142 dnl For instance:
     142dnl For instace:
    143143dnl    first_path=/somewhere/on/my/disk/bin
    144144dnl    second_path=/somewhere/on
     
    173173done])
    174174
     175
     176dnl AX_RECURSIVE_EVAL(VALUE, RESULT)
     177dnl =================================
     178dnl Interpolate the VALUE in loop until it doesn't change,
     179dnl and set the result to $RESULT.
     180dnl WARNING: It's easy to get an infinite loop with some unsane input.
     181AC_DEFUN([AX_RECURSIVE_EVAL],
     182[_lcl_receval="$1"
     183$2=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
     184     test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
     185     _lcl_receval_old=''
     186     while test "[$]_lcl_receval_old" != "[$]_lcl_receval"; do
     187       _lcl_receval_old="[$]_lcl_receval"
     188       eval _lcl_receval="\"[$]_lcl_receval\""
     189     done
     190     echo "[$]_lcl_receval")`])
Note: See TracChangeset for help on using the changeset viewer.