Browse files

2008-05-14 Rafael Espindola <espindola@google.com>

	* config-ml.in: don't handle --enable-shared and --enable-static.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135300 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information...
1 parent 2dd6f9e commit 2c3fa25d8f249889b308a872a787d053a3176c48 espindola committed May 14, 2008
Showing with 10 additions and 1 deletion.
  1. +4 −0 ChangeLog
  2. +6 −1 config-ml.in
View
4 ChangeLog
@@ -1,3 +1,7 @@
+2008-05-14 Rafael Espindola <espindola@google.com>
+
+ * config-ml.in: don't handle --enable-shared and --enable-static.
+
2008-05-10 Richard Sandiford <rdsandiford@googlemail.com>
* MAINTAINERS: Update my email address.
View
7 config-ml.in
@@ -135,7 +135,12 @@ do
*) optarg=yes ;;
esac
enableopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
- eval $enableopt="$optarg"
+ # enable_shared and enable_static are handled by configure.
+ # Don't undo its work.
+ case $enableopt in
+ enable_shared | enable_static) ;;
+ *) eval $enableopt="$optarg" ;;
+ esac
;;
--norecursion | --no-recursion)
ml_norecursion=yes

0 comments on commit 2c3fa25

Please sign in to comment.