File: ac_prog_mysqlimport.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-- 658 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_MYSQLIMPORT
dnl
dnl Check for the program 'mysqlimport', let script continue if exists,
dnl pops up error message if not.
dnl
dnl Besides checking existence, this macro also set these environment
dnl variables upon completion:
dnl
dnl     MYSQLIMPORT = which mysqlimport
dnl
dnl @category InstalledPackages
dnl @author Gleen Salmon <gleensalmon@yahoo.com>
dnl @version 2002-04-11
dnl @license GPLWithACException

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