public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [google] Rebuild assorted configure files
@ 2011-02-17  0:47 Simon Baldwin
  2011-02-17 14:06 ` Diego Novillo
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Baldwin @ 2011-02-17  0:47 UTC (permalink / raw)
  To: gcc-patches

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.


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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [google] Rebuild assorted configure files
  2011-02-17  0:47 [google] Rebuild assorted configure files Simon Baldwin
@ 2011-02-17 14:06 ` Diego Novillo
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Novillo @ 2011-02-17 14:06 UTC (permalink / raw)
  To: Simon Baldwin; +Cc: gcc-patches

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-17 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-17  0:47 [google] Rebuild assorted configure files Simon Baldwin
2011-02-17 14:06 ` Diego Novillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).