summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2002-05-15 11:06:44 +0200
committerunknown <lenz@mysql.com>2002-05-15 11:06:44 +0200
commit00d62e8dc5ded1f4ab612d05f8807312c05da9f6 (patch)
tree5325913f53f6cbe83961b41466be6e64c99af64d /configure.in
parenteba5ec8b4bceabab302462db850882f715a7b040 (diff)
downloadmariadb-git-00d62e8dc5ded1f4ab612d05f8807312c05da9f6.tar.gz
Fixed sql_yacc.yy to be compatible with bison 1.31 and above.
Made detection of GNU tar a bit more flexible. Only use /usr/local/mysql-glibc if it actually exists Build-tools/Do-linux-build: Only use the "--with-other-libc" parameter, if another libc actually exists at this location Makefile.am: Removed hard-coded tar binary name configure.in: Added check for GNU tar with various names sql/sql_yacc.yy: Added semicolons to several expressions to make bison 1.31 and above happy when used in Yacc compatibility mode. From the bison NEWS: "Bison has always permitted actions such as { $$ = $1 }: it adds the ending semicolon. Now if in Yacc compatibility mode, the semicolon is no longer output: one has to write { $$ = $1; }." BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index fec4b37ecfc..a7102261410 100644
--- a/configure.in
+++ b/configure.in
@@ -364,6 +364,9 @@ AC_PATH_PROG(SED, sed, sed)
AC_PATH_PROG(CMP, cmp, cmp)
AC_PATH_PROG(CHMOD, chmod, chmod)
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)