File: ac_prog_mysqld.m4

package info (click to toggle)
autoconf-archive 20060312-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,180 kB
  • ctags: 13
  • sloc: sh: 455; makefile: 44
file content (22 lines) | stat: -rw-r--r-- 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dnl @synopsis AC_PROG_MYSQLD
dnl
dnl Check for the program 'mysqld' let script continue if exists &
dnl works pops up error message if not.
dnl
dnl Besides checking existence, this macro also set these environment
dnl variables upon completion:
dnl
dnl 	MYSQLD = which mysqld
dnl
dnl @category InstalledPackages
dnl @author Gleen Salmon <gleensalmon@yahoo.com>
dnl @version 2003-01-09
dnl @license GPLWithACException

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
])