diff options
author | unknown <monty@hundin.mysql.fi> | 2002-03-06 22:06:18 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-03-06 22:06:18 +0200 |
commit | c13baf70ec937501389ed6e9f94c98635f1c1b76 (patch) | |
tree | 144f453dcafda3e77cbdd33007723b65d60e699c /configure.in | |
parent | d6998363afc004fd92248af521ed40fa52027954 (diff) | |
download | mariadb-git-c13baf70ec937501389ed6e9f94c98635f1c1b76.tar.gz |
Fix for --enable-local-infile
Docs/manual.texi:
Changelog
acinclude.m4:
Cleanup --help output
libmysql/libmysql.c:
Fix for reading option groups in client
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.in b/configure.in index cf971463b69..9473c5d7c34 100644 --- a/configure.in +++ b/configure.in @@ -603,15 +603,22 @@ AC_ARG_WITH(mysqld-user, ) AC_SUBST(MYSQLD_USER) -# compile with strings functions in assembler +# If we should allove LOAD DATA LOCAL +AC_MSG_CHECKING(if we should should enable LOAD DATA LOCAL by default) AC_ARG_ENABLE(local-infile, [ --enable-local-infile If LOAD DATA LOCAL INFILE is enabled by default.], - [ ENABLED_LOCAL_INFILE=$enablewal ], + [ ENABLED_LOCAL_INFILE=$enableval ], [ ENABLED_LOCAL_INFILE=no ] ) -AC_SUBST(ENABLE_LOCAL_INFILE) +if test "$ENABLED_LOCAL_INFILE" = "yes" +then + AC_MSG_RESULT([yes]) + AC_DEFINE([ENABLED_LOCAL_INFILE]) +else + AC_MSG_RESULT([no]) +fi # Use Paul Eggerts macros from GNU tar to check for large file support. MYSQL_SYS_LARGEFILE |