[Macro Index Page] | [Download M4 Source] |
AC_PROG_MYSQLD
Check for the program 'mysqld' let script continue if exists & works pops up error message if not.
Besides checking existence, this macro also set these environment variables upon completion:
MYSQLD = which mysqld
1.3 (last modified: 2003-01-09)
Gleen Salmon <gleensalmon@yahoo.com>
AC_DEFUN([AC_PROG_MYSQLD],[ AC_REQUIRE([AC_EXEEXT])dnl AC_PATH_PROG(MYSQLD, mysqld$EXEEXT, nocommand) if test "$MYSQLD" = nocommand; then AC_MSG_ERROR([mysqld not found in $PATH]) fi;dnl ])