Patchwork [google] Rebuild assorted configure files

login
register
mail settings
Submitter Simon Baldwin
Date Feb. 17, 2011, 12:32 a.m.
Message ID <20110217003257.BD0381C6937@hpgntab-ubiq73.eem.corp.google.com>
Download mbox | patch
Permalink /patch/83416/
State New
Headers show

Comments

Simon Baldwin - Feb. 17, 2011, 12:32 a.m.
Rebuild assorted configure files.

r169483 updated ltoptions.m4 but failed to update all of the configure
files that might benefit from the change.  This patch updates any configure
files affected by the chnaged ltoptions.m4 but omitted from r169483.

OK for the google/integration branch?

libquadmath/ChangeLog.google:
lto-plugin/ChangeLog.google:
libjava/classpath/ChangeLog.google:
2011-02-17  Simon Baldwin  <simonb@google.com>

	* configure: Rebuild from configure.ac.
Diego Novillo - Feb. 17, 2011, 1:30 p.m.
On Wed, Feb 16, 2011 at 19:32, Simon Baldwin <simonb@google.com> wrote:
> Rebuild assorted configure files.
>
> r169483 updated ltoptions.m4 but failed to update all of the configure
> files that might benefit from the change.  This patch updates any configure
> files affected by the chnaged ltoptions.m4 but omitted from r169483.
>
> OK for the google/integration branch?

OK.  This qualifies as obvious, btw.


Diego.

Patch

Index: libquadmath/configure
===================================================================
--- libquadmath/configure	(revision 170230)
+++ libquadmath/configure	(working copy)
@@ -7024,7 +7024,22 @@  fi
 
 # Check whether --with-pic was given.
 if test "${with_pic+set}" = set; then :
-  withval=$with_pic; pic_mode="$withval"
+  withval=$with_pic; p=${PACKAGE-default}
+    case "$withval" in
+    yes|no) pic_mode="$withval" ;;
+    *)
+      pic_mode=default
+      # Look at the argument we got.  We use all the common list separators.
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+      for pkg in $withval; do
+	IFS="$lt_save_ifs"
+	if test "X$pkg" = "X$p"; then
+	  pic_mode=yes
+	fi
+      done
+      IFS="$lt_save_ifs"
+      ;;
+    esac
 else
   pic_mode=default
 fi
@@ -10457,7 +10472,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10460 "configure"
+#line 10475 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10563,7 +10578,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10566 "configure"
+#line 10581 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
Index: lto-plugin/configure
===================================================================
--- lto-plugin/configure	(revision 170230)
+++ lto-plugin/configure	(working copy)
@@ -7100,7 +7100,22 @@  fi
 
 # Check whether --with-pic was given.
 if test "${with_pic+set}" = set; then :
-  withval=$with_pic; pic_mode="$withval"
+  withval=$with_pic; p=${PACKAGE-default}
+    case "$withval" in
+    yes|no) pic_mode="$withval" ;;
+    *)
+      pic_mode=default
+      # Look at the argument we got.  We use all the common list separators.
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+      for pkg in $withval; do
+	IFS="$lt_save_ifs"
+	if test "X$pkg" = "X$p"; then
+	  pic_mode=yes
+	fi
+      done
+      IFS="$lt_save_ifs"
+      ;;
+    esac
 else
   pic_mode=default
 fi
@@ -10506,7 +10521,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10509 "configure"
+#line 10524 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10612,7 +10627,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10615 "configure"
+#line 10630 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
Index: libjava/classpath/configure
===================================================================
--- libjava/classpath/configure	(revision 170230)
+++ libjava/classpath/configure	(working copy)
@@ -8386,7 +8386,22 @@  fi
 
 # Check whether --with-pic was given.
 if test "${with_pic+set}" = set; then :
-  withval=$with_pic; pic_mode="$withval"
+  withval=$with_pic; p=${PACKAGE-default}
+    case "$withval" in
+    yes|no) pic_mode="$withval" ;;
+    *)
+      pic_mode=default
+      # Look at the argument we got.  We use all the common list separators.
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+      for pkg in $withval; do
+	IFS="$lt_save_ifs"
+	if test "X$pkg" = "X$p"; then
+	  pic_mode=yes
+	fi
+      done
+      IFS="$lt_save_ifs"
+      ;;
+    esac
 else
   pic_mode=default
 fi
@@ -11819,7 +11834,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11822 "configure"
+#line 11837 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11925,7 +11940,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11928 "configure"
+#line 11943 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -23826,7 +23841,7 @@  else
 JAVA_TEST=Object.java
 CLASS_TEST=Object.class
 cat << \EOF > $JAVA_TEST
-/* #line 23829 "configure" */
+/* #line 23844 "configure" */
 package java.lang;
 
 public class Object
@@ -23919,7 +23934,7 @@  EOF
 if uudecode$EXEEXT Test.uue; then
         ac_cv_prog_uudecode_base64=yes
 else
-        echo "configure: 23922: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
+        echo "configure: 23937: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
         echo "configure: failed file was:" >&5
         cat Test.uue >&5
         ac_cv_prog_uudecode_base64=no
@@ -23947,7 +23962,7 @@  JAVA_TEST=Test.java
 CLASS_TEST=Test.class
 TEST=Test
 cat << \EOF > $JAVA_TEST
-/* [#]line 23950 "configure" */
+/* [#]line 23965 "configure" */
 public class Test {
 public static void main (String args[]) {
         System.exit (0);
@@ -24155,7 +24170,7 @@  if test "x${use_glibj_zip}" = xfalse || 
   JAVA_TEST=Test.java
   CLASS_TEST=Test.class
   cat << \EOF > $JAVA_TEST
-  /* #line 24158 "configure" */
+  /* #line 24173 "configure" */
   public class Test
   {
     public static void main(String args)