X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/afc0149dd2e0393d529c5322f25396039872f787..114346686fbed4b26fb1d483dd328a39a62e7563:/m4/join.m4 diff --git a/m4/join.m4 b/m4/join.m4 index 2f25ce8..a0a8d10 100644 --- a/m4/join.m4 +++ b/m4/join.m4 @@ -10,7 +10,15 @@ dnl Search PATH for standard POSIX "join" utility. If found, the JOIN dnl variable (which is substituted by AC_SUBST) is set to the result and dnl the cache variable dx_cv_join_works is set to "yes". Otherwise, dnl dx_cv_join_works is set to "no" and JOIN is set to an incomplete -dnl awk-based implementation which supports no options. +dnl awk-based implementation. +dnl +dnl The awk replacement currently has the following limitations: +dnl +dnl - Only the -v and -a options are supported. +dnl +dnl - Due to limitations of some awk implementations, a filename of "-" +dnl to mean standard input should be avoided for the second file name. +dnl Nevertheless, using "-" for the first filename should be portable. AC_DEFUN([DX_PROG_JOIN], [AC_PREREQ([2.62])dnl AC_REQUIRE([AC_PROG_AWK])dnl @@ -34,7 +42,7 @@ AS_IF([test x"$dx_cv_join_works" != x"yes"], [JOIN="$AWK -f m4_do( [m4_pushdef([m4_include], [$][1])], [m4_include(DX_BASEDIR[/scripts/join.awk])], - [m4_popdef([m4_include])])"])]) + [m4_popdef([m4_include])]) --"])]) AC_DEFUN([_DX_JOIN_DO_TEST], [AS_IF([test ! -f conftest.b],