Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

When doing a fresh bootstrap clone and
 ./autogen.sh '--enable-ext-mysql-connector' '--with-system-mysql'
configure complains that the directory "mysqlc" does not exist and
errors out. But that directory will be created by "make fetch" _after_
configure is finished running, so I'd suggest the attached patch.

Else, one has to do:

 ./autogen.sh && make fetch && ./autogen.sh '--enable-ext-mysql-connector' '--with-system-mysql'

-- 
Lionel
From fb8b5fcdd43254a32d14b25d9ed74b086d667d52 Mon Sep 17 00:00:00 2001
From: Lionel Elie Mamane <lionel.mamane@gestman.lu>
Date: Fri, 5 Aug 2011 11:12:22 +0200
Subject: [PATCH] Trust "make fetch" to dowload mysqlc; do not require it at configure time

---
 configure.in |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/configure.in b/configure.in
index 841156a..00bdc6b 100755
--- a/configure.in
+++ b/configure.in
@@ -4853,12 +4853,6 @@ AC_MSG_CHECKING([whether to build the MySQL Connector extension])
 if test -n "$enable_ext_mysql_connector" -a "$enable_ext_mysql_connector" != "no"; then
     AC_MSG_RESULT([yes])
     ENABLE_MYSQLC=YES
-    AC_MSG_CHECKING([for mysqlc module])
-    if test -d mysqlc; then
-        AC_MSG_RESULT([OK])
-    else
-        AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
-    fi
     BUILD_TYPE="$BUILD_TYPE MYSQLC"
 else
     AC_MSG_RESULT([no])
-- 
1.7.2.5


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.