Stepan Kasal <[EMAIL PROTECTED]> writes: > # AS_SET_ARGS(ARGS, [IFS-VALUE]) > # ------------------------------ > # Calls `set' to set args, temporarily disabling pathname expansion > # (if the shell supports it). If IFS-VALUE is given, IFS is temporarily > # changed to it. > # > m4_define([AS_SET_ARGS], > [m4_ifval([$2], [IFS='$2'; ])dnl > $ac_do_noglob; set x $something; shift; $ac_do_glob[]dnl > m4_ifval([$2], [; IFS=$as_default_IFS])[]dnl > ]) > > Would you agree with this?
Yes, that looks like a good start; thanks. Obviously there's more work to do (e.g., "$something", and most importantly modifying the documentation and the rest of Autoconf to use it) but this is a good way to go. One minor comment; perhaps it'd be better to replace IFS='$2' with IFS=$2 so that the user can use shell variables, apostrophes, etc.
