[Macro Index Page] [Download M4 Source]

ac_prog_mysqlimport

Synopsis

AC_PROG_MYSQLIMPORT

Description

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

Version

1.1 (last modified: 2002-04-11)

Author

Gleen Salmon <gleensalmon@yahoo.com>

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

Copyright

GNU General Public License with this special exception.