Google

Back to the Main Page.

ac_prog_mysqld

Download the M4 Source.

Synopsis

AC_PROG_MYSQLD

Version

1.2 (2002/12/12)     Installed_Packages @ ac-archive-0.5.39

Author

Gleen Salmon <gleensalmon@yahoo.com>

Description

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

M4 Source Code
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
])