[Ekiga-devel-list] fixes for win32 build



Hi all, sorry to bring it up again, but after a week without a comment I would
like to ask someone with more expertise on the windows build of my patches make
sense. When cross-compiling ekiga for the first time for a win32 system I had
some problems. First, a required header file (localcharset.h) wasnt downloaded
automatically. Second, openLDAP only compiled when givin it the
--with-yielding_select configuration flag. And finally my regexp library that
was installed by the build script itselft didnt get recongized by the configure
script of openldap, so until I get a deeper understanding of the why I commented
it out. Enclosed are two patches with the three modifications. I would welcome
any comment.

Bye
Matthias

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--- configure.in.sav	2006-07-28 16:53:03.000000000 +0200
+++ configure.in	2007-02-25 00:36:40.000000000 +0100
@@ -1025,8 +1025,8 @@
 if test "$ac_cv_header_regex_h" != yes ; then
 	AC_MSG_ERROR([POSIX regex.h required.])
 fi
-AC_SEARCH_LIBS(regfree, [regex gnuregex],
-	:, AC_MSG_ERROR([POSIX regex required.]))
+dnl AC_SEARCH_LIBS(regfree, [regex gnuregex],
+dnl 	:, AC_MSG_ERROR([POSIX regex required.]))
 
 OL_POSIX_REGEX
 if test "$ol_cv_c_posix_regex" = no ; then
--- Makefile	2007-01-15 22:14:00.000000000 +0100
+++ Makefile.new	2007-02-26 20:32:09.000000000 +0100
@@ -152,7 +152,7 @@
 	echo "--- Getting libregex..."
 	rm -f lib/libregex.a regex/regex.h $(INCLUDE_DIR)/regex.h
 	mkdir -p regex
-	cd regex/;for i in regex.c regexec.c regex.h regex_internal.c regex_internal.h regcomp.c alloca_.h alloca.c strcase.h;do \
+	cd regex/;for i in regex.c regexec.c regex.h regex_internal.c regex_internal.h regcomp.c alloca_.h alloca.c strcase.h localcharset.h;do \
 		$(WGET) http://cvs.savannah.nongnu.org/viewcvs/*checkout*/gnulib/gnulib/lib/$$i ;\
 	done
 	mv regex/alloca_.h regex/alloca.h
@@ -219,7 +219,8 @@
 	#-$(MAKE) -C $(OPENLDAP_DIR) clean
 	rm -f lib/libldap_r.dll
 	ln -sf $(INCLUDE_DIR)/regex.h $(OPENLDAP_DIR)/include/
-	cd $(OPENLDAP_DIR);./configure --with-cyrus-sasl=no --enable-bdb=no --enable-hdb=no $(confflags)
+	echo "$(MAKE) $(MAKEOPTS) -C $(OPENLDAP_DIR) depend"
+	cd $(OPENLDAP_DIR);./configure --with-cyrus-sasl=no --enable-bdb=no --enable-hdb=no --with-yielding_select=yes $(confflags)
 	$(MAKE) $(MAKEOPTS) -C $(OPENLDAP_DIR) depend
 	touch $@
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]