summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-03-19 09:37:30 -0400
committerChad MILLER <chad@mysql.com>2009-03-19 09:37:30 -0400
commit9bdcb6ba6ebbb5747c7be7d8c9620574c74601d6 (patch)
tree3b67b277a49cbc606615070f86bc4a5493cab977 /configure.in
parent1fd4ed8ed84d88a97438004b71e37a0d82392bc3 (diff)
downloadmariadb-git-9bdcb6ba6ebbb5747c7be7d8c9620574c74601d6.tar.gz
Copy include/config.h to include/my_config.h at configure-time. Also,
continue to update it at make-time. One shouldn't need to run "make" on server source to get the stuff we say plugins should use.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index cf7d6926cb9..2235d46d62d 100644
--- a/configure.in
+++ b/configure.in
@@ -2815,6 +2815,7 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
include/mysql_version.h plugin/Makefile win/Makefile)
AC_CONFIG_COMMANDS([default], , test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h)
+AC_CONFIG_COMMANDS([my_config.h], cp include/config.h include/my_config.h)
# Ensure that table handlers gets all modifications to CFLAGS/CXXFLAGS
AC_CONFIG_COMMANDS_POST(ac_configure_args="$ac_configure_args CFLAGS='$CFLAGS' CXXFLAGS='$CXXFLAGS'")