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 <[email protected]>
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

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to