Check for the program 'mysqlimport', let script continue if exists, pops up error message if not.
Besides checking existence, this macro also set these environment variables upon completion:
MYSQLIMPORT = which mysqlimport
M4 Source Code
AC_DEFUN([AC_PROG_MYSQLIMPORT],[
AC_REQUIRE([AC_EXEEXT])dnl
AC_PATH_PROG(MYSQLIMPORT, mysqlimport$EXEEXT, nocommand)
if test "$MYSQLIMPORT" = nocommand; then
AC_MSG_ERROR([mysqlimport not found in $PATH])
fi;dnl
])