# AX_SPLIT(string,var,[char])
# split up a string (or path) based upon a character
# Copyright (C) 2015 Associated Universities, Inc. Washington DC, USA.
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
AC_DEFUN([AX_SPLIT], [dnl
m4_if([$1], [], [m4_fatal([first argument to AX_SPLIT missing])])dnl
m4_if([$2], [], [m4_fatal([second argument to AX_SPLIT missing])])dnl
m4_if([$3], [], [ax_char=':'], [ax_char=$3])