ooo-build r12319 - trunk



Author: jannieuw
Date: Thu Apr 24 09:45:24 2008
New Revision: 12319
URL: http://svn.gnome.org/viewvc/ooo-build?rev=12319&view=rev

Log:
2008-04-24  Jan Nieuwenhuizen  <janneke gnu org>

	* autogen.sh: Respect single quotes.  Use eval echo trick to
	remove quoting, fix build/host problem.


Modified:
   trunk/ChangeLog
   trunk/autogen.sh

Modified: trunk/autogen.sh
==============================================================================
--- trunk/autogen.sh	(original)
+++ trunk/autogen.sh	Thu Apr 24 09:45:24 2008
@@ -13,7 +13,7 @@
 
 old_args=""
 if test $# -eq 0 && test -f config.log; then
-    old_args=`grep '\$ ./configure' config.log | sed -e 's/.*configure //' -e 's/=\(\([^"-]\|-[^-]\)*\)\( \|$\)/="\1" /g'`
+    old_args=`grep '\$ ./configure' config.log | sed -e 's/.*configure //' -e 's/=\(\([^"'"'"'-]\|-[^-]\| \)*\)\( \|$\)/="\1" /g'`
     echo "re-using arguments from last configure: $old_args";
 fi
 
@@ -22,7 +22,7 @@
 # intltoolize --copy --force --automake
 autoconf || exit 1;
 if test "x$NOCONFIGURE" = "x"; then
-    ./configure "$@" $old_args
+    eval `echo ./configure "$@" $old_args`
 else
     echo "Skipping configure process."
 fi



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