projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[corlib] Implement parsing of complex double strings.
[mono.git]
/
autogen.sh
diff --git
a/autogen.sh
b/autogen.sh
index 8fc51d24df070776c14a3ba73fd310cba639610a..a576ed6672afab5a9697e610ce8b6a9e0265b208 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-107,15
+107,19
@@
fi
# Plug in the extension module
#
has_ext_mod=false
# Plug in the extension module
#
has_ext_mod=false
+ext_mod_args=''
for PARAM; do
for PARAM; do
- if test "$PARAM" = "--enable-extension-module" ; then
- has_ext_mod=true
- fi
+ if [[ $PARAM =~ "--enable-extension-module" ]] ; then
+ has_ext_mod=true
+ if [[ $PARAM =~ "=" ]] ; then
+ ext_mod_args=`echo $PARAM | cut -d= -f2`
+ fi
+ fi
done
if test x$has_ext_mod = xtrue; then
pushd ../mono-extensions/scripts
done
if test x$has_ext_mod = xtrue; then
pushd ../mono-extensions/scripts
- sh ./prepare-repo.sh || exit 1
+ sh ./prepare-repo.sh
$ext_mod_args
|| exit 1
popd
else
cat mono/mini/Makefile.am.in > mono/mini/Makefile.am
popd
else
cat mono/mini/Makefile.am.in > mono/mini/Makefile.am