summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-RC/files/patch-config_office+configure.in
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-06-11 11:15:57 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-06-11 11:15:57 +0000
commita5ded0ef3b7978b661bd3ddf29f4302690f79523 (patch)
tree0503fa992d350d04a97181e6cb7bab791c25008a /editors/openoffice.org-2-RC/files/patch-config_office+configure.in
parentupdate to cws_src680_ooo20040620, checkedout at 2004/06/11 (diff)
Opps, backout accidentially removed files...
Notes
Notes: svn path=/head/; revision=111269
Diffstat (limited to 'editors/openoffice.org-2-RC/files/patch-config_office+configure.in')
-rw-r--r--editors/openoffice.org-2-RC/files/patch-config_office+configure.in46
1 files changed, 46 insertions, 0 deletions
diff --git a/editors/openoffice.org-2-RC/files/patch-config_office+configure.in b/editors/openoffice.org-2-RC/files/patch-config_office+configure.in
new file mode 100644
index 000000000000..6ef4e95358e8
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-config_office+configure.in
@@ -0,0 +1,46 @@
+#i27028 and #i27028
+http://qa.openoffice.org/issues/show_bug.cgi?id=27021 (Xaw)
+http://qa.openoffice.org/issues/show_bug.cgi?id=27028 (ant)
+
+Index: config_office/configure.in
+===================================================================
+RCS file: /cvs/tools/config_office/configure.in,v
+retrieving revision 1.63
+diff -u -r1.63 configure.in
+--- ../config_office/configure.in 17 Mar 2004 09:33:26 -0000 1.63
++++ ../config_office/configure.in 8 Jun 2004 20:53:16 -0000
+@@ -1478,6 +1478,7 @@
+ elif test "$_os" != "WINNT" ; then
+ AC_PATH_X
+ AC_PATH_XTRA
++ CPPFLAGS="$CPPFLAGS $X_CFLAGS"
+ AC_CHECK_HEADERS(X11/Xaw/Label.h,[AC_MSG_RESULT([Ok])],[AC_MSG_ERROR([Xaw include headers not found])])
+
+ if test "x$x_includes" = "x"; then
+@@ -1830,10 +1831,12 @@
+
+ if test "$enable_java" != "no"; then
+ ANT_HOME=; export ANT_HOME
++WITH_ANT_HOME=; export WITH_ANT_HOME
+ if test -z "$with_ant_home"; then
+ AC_PATH_PROGS(ANT, [jakarta-ant ant ant.sh ant.bat])
+ else
+- AC_PATH_PROGS(ANT, [jakarta-ant ant ant.sh ant.bat],,$with_ant_home/bin)
++ AC_PATH_PROGS(ANT, [jakarta-ant ant ant.sh ant.bat],,$with_ant_home/bin:$PATH)
++ WITH_ANT_HOME=$with_ant_home
+ fi
+
+
+@@ -1873,7 +1876,11 @@
+ AC_TRY_EVAL(ant_cmd)
+ if test $? = 0 && test -f ./conftest.class ; then
+ AC_MSG_RESULT([Ant works])
+- ANT_HOME=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"`
++ if test -z "$WITH_ANT_HOME"; then
++ ANT_HOME=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"`
++ else
++ ANT_HOME="$WITH_ANT_HOME"
++ fi
+ else
+ echo "configure: Ant test failed" >&5
+ cat conftest.java >&5