From 08d36171a9e535fac9d33e7cbb9a2770a72bfd0b Mon Sep 17 00:00:00 2001 From: "tim@cane.mysql.fi" <> Date: Fri, 19 Jan 2001 02:46:13 +0200 Subject: Add --with-server-suffix (MYSQL_SERVER_SUFFIX). --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 923a10211f5..fe81a5a39ea 100644 --- a/configure.in +++ b/configure.in @@ -389,6 +389,14 @@ then AC_MSG_ERROR([MySQL requiers a ANSI C compiler (and a C++ compiler). Try gcc. See the Installation chapter in the Reference Manual.]) fi +AC_ARG_WITH(server-suffix, + [ --with-server-suffix Append value to the version string.], + # I heard that 'cut' isn't portable. Isn't there a better way? + [ MYSQL_SERVER_SUFFIX=`echo "$withval" | sed -e 's/^\(...................................\)..*$/\1/'` ], + [ MYSQL_SERVER_SUFFIX= ] + ) +AC_SUBST(MYSQL_SERVER_SUFFIX) + # Set flags if we wants to have MIT threads. AC_ARG_WITH(mit-threads, [ --with-mit-threads Always use included thread lib.], -- cgit v1.2.1