diff options
author | unknown <jcole@mugatu.spaceapes.com> | 2002-05-12 03:41:30 -0500 |
---|---|---|
committer | unknown <jcole@mugatu.spaceapes.com> | 2002-05-12 03:41:30 -0500 |
commit | 210e34dfeb3fc4df05b3f4c47ce1605293e6bd9e (patch) | |
tree | fac45a323f90ba438178525fcda66c3111f8a9bb | |
parent | 8880506a1890bbe4328ce12dbffad9164a26c1d2 (diff) | |
download | mariadb-git-210e34dfeb3fc4df05b3f4c47ce1605293e6bd9e.tar.gz |
Aesthetic cleanups to acinclude.m4 and configure.in.
acinclude.m4:
Aesthetic cleanups.
configure.in:
Aesthetic cleanups.
-rw-r--r-- | acinclude.m4 | 4 | ||||
-rw-r--r-- | configure.in | 31 |
2 files changed, 21 insertions, 14 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 9c5fbfbbb78..3230a4b5788 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -771,7 +771,7 @@ AC_MSG_CHECKING(for OpenSSL) AC_DEFUN(MYSQL_CHECK_MYSQLFS, [ AC_ARG_WITH([mysqlfs], - [\ + [ --with-mysqlfs Include the corba-based MySQL file system], [mysqlfs="$withval"], [mysqlfs=no]) @@ -821,7 +821,7 @@ AC_SUBST(orbit_idl) ]) AC_DEFUN([MYSQL_CHECK_ISAM], [ - AC_ARG_WITH([isam], [\ + AC_ARG_WITH([isam], [ --without-isam Disable the ISAM table type], [with_isam="$withval"], [with_isam=yes]) diff --git a/configure.in b/configure.in index 3fd33743fa7..66d123078be 100644 --- a/configure.in +++ b/configure.in @@ -367,6 +367,7 @@ AC_PATH_PROG(HOSTNAME, hostname, hostname) # Check for a GNU tar named 'gtar', or 'gnutar' (MacOS X) and # fall back to 'tar' otherwise and hope that it's a GNU tar as well AC_CHECK_PROGS(TAR, gnutar gtar tar) + dnl We use a path for perl so the script startup works dnl We make sure to use perl, not perl5, in hopes that the RPMs will dnl not depend on the perl5 binary being installed (probably a bug in RPM) @@ -453,7 +454,11 @@ fi NOINST_LDFLAGS= AC_ARG_WITH(other-libc, - [ --with-other-libc=/path/to/other/libc/dir Link against libc and other standard libraries installed in the specified non-standard location overriding default. Originally added to be able to link against glibc 2.2 without making the user upgrade the standard libc installation ], + [ --with-other-libc=DIR Link against libc and other standard libraries + installed in the specified non-standard location + overriding default. Originally added to be able to + link against glibc 2.2 without making the user + upgrade the standard libc installation.], [ other_libc_include="$withval/include" other_libc_lib="$withval/lib" @@ -504,7 +509,6 @@ AC_SUBST(NOINST_LDFLAGS) 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= ] ) @@ -629,11 +633,10 @@ AC_ARG_WITH(mysqld-user, ) AC_SUBST(MYSQLD_USER) -# If we should allove LOAD DATA LOCAL +# If we should allow LOAD DATA LOCAL AC_MSG_CHECKING(if we should should enable LOAD DATA LOCAL by default) AC_ARG_ENABLE(local-infile, - [ --enable-local-infile - Enable LOAD DATA LOCAL INFILE (default: disabled)], + [ --enable-local-infile Enable LOAD DATA LOCAL INFILE (default: disabled)], [ ENABLED_LOCAL_INFILE=$enableval ], [ ENABLED_LOCAL_INFILE=no ] ) @@ -695,7 +698,7 @@ MYSQL_CHECK_ZLIB_WITH_COMPRESS($with_named_zlib) #-------------------------------------------------------------------- AC_ARG_WITH(libwrap, -[ --with-libwrap[=DIR] Compile in libwrap (tcp_wrappers) support],[ +[ --with-libwrap[=DIR] Compile in libwrap (tcp_wrappers) support],[ case "$with_libwrap" in no) : ;; yes|*) @@ -993,9 +996,9 @@ then if test "$IS_LINUX" = "true" then AC_MSG_ERROR([This is a linux system and Linuxthreads was not -found. On linux Linuxthreads should be used. So install Linuxthreads -(or a new glibc) and try again. See the Installation chapter in the -Reference Manual.]) +found. On linux Linuxthreads should be used. Please install Linuxthreads +(or a new glibc) and try again. See the Installation chapter in the +Reference Manual for more information.]) else AC_MSG_CHECKING("DEC threads") if test -f /usr/shlib/libpthread.so -a -f /usr/lib/libmach.a -a -f /usr/ccs/lib/cmplrs/cc/libexc.a @@ -1353,6 +1356,7 @@ else DEBUG_OPTIMIZE_CXX="" OPTIMIZE_CXXFLAGS="-O" fi + AC_ARG_WITH(debug, [ --without-debug Build a production version without debugging code], [with_debug=$withval], @@ -1736,7 +1740,7 @@ then AC_DEFINE(HAVE_READDIR_R) fi -# Check definition av posix sigwait() +# Check definition of posix sigwait() AC_CACHE_CHECK("style of sigwait", mysql_cv_sigwait, AC_TRY_LINK( [#if !defined(SCO) && !defined(__osf__) @@ -1759,7 +1763,7 @@ fi if test "$mysql_cv_sigwait" != "POSIX" then unset mysql_cv_sigwait -# Check definition av posix sigwait() +# Check definition of posix sigwait() AC_CACHE_CHECK("style of sigwait", mysql_cv_sigwait, AC_TRY_LINK( [#if !defined(SCO) && !defined(__osf__) @@ -1937,8 +1941,11 @@ CHARSETS_DEPRECATED="win1251" DEFAULT_CHARSET=latin1 AC_DIVERT_POP +dnl fix this later.. +dnl [ --with-charset=CHARSET Use CHARSET by default (one of: $CHARSETS_AVAILABLE; Default is $DEFAULT_CHARSET)], + AC_ARG_WITH(charset, - [ --with-charset=CHARSET Use CHARSET by default (one of: $CHARSETS_AVAILABLE; Default is $DEFAULT_CHARSET)], + [ --with-charset=CHARSET Use CHARSET by default (Default is latin1)], [default_charset="$withval"], [default_charset="$DEFAULT_CHARSET"]) |