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

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

	Backport from mainline:
	2008-05-14  Rafael Espindola  <espindola@google.com>

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

From-SVN: r135301
This commit is contained in:
Rafael Avila de Espindola 2008-05-14 17:45:03 +00:00 committed by Rafael Espindola
parent 9817171719
commit abf103fb2f
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-05-14 Rafael Espindola <espindola@google.com>
Backport from mainline:
2008-05-14 Rafael Espindola <espindola@google.com>
* config-ml.in: don't handle --enable-shared and --enable-static.
2008-03-05 Release Manager
* GCC 4.3.0 released.

View File

@ -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