Skip to content
Permalink
Browse files

configure: regenerate after https://trac.macports.org/changeset/117754

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@117755 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
neverpanic committed Mar 10, 2014
1 parent 59d27e8 commit 5dd78427eb2978efd97c97cea539617841f637cd
Showing with 43 additions and 13 deletions.
  1. +43 −13 configure
@@ -2837,27 +2837,57 @@ fi
mp_flags_scan_found=

# Clean CFLAGS CPPFLAGS OBJCFLAGS and LDFLAGS
for flagname in CFLAGS CPPFLAGS OBJCFLAGS LDFLAGS; do
for mp_flags_flagname in CFLAGS CPPFLAGS OBJCFLAGS LDFLAGS; do
mp_flags_scan_flag_cleaned=
eval "set x \$$flagname"
eval "set x \$$mp_flags_flagname"
shift
for mp_flags_scan_val; do
case "$mp_flags_scan_val" in
-I$prefix/* | -L$prefix/*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: Removing \`$mp_flags_scan_val' from \$$flagname because it might cause a self-dependency" >&5
$as_echo "$as_me: Removing \`$mp_flags_scan_val' from \$$flagname because it might cause a self-dependency" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Removing \`$mp_flags_scan_val' from \$$mp_flags_flagname because it might cause a self-dependency" >&5
$as_echo "$as_me: Removing \`$mp_flags_scan_val' from \$$mp_flags_flagname because it might cause a self-dependency" >&6;}
mp_flags_scan_found=1
;; #(
*)
as_fn_append mp_flags_scan_flag_cleaned " $mp_flags_scan_val"
if test -z "$mp_flags_scan_flag_cleaned"; then
mp_flags_scan_flag_cleaned=$mp_flags_scan_val
else
as_fn_append mp_flags_scan_flag_cleaned " $mp_flags_scan_val"
fi
;;
esac
done
if test -z "$mp_flags_scan_flag_cleaned"; then
(unset $flagname) >/dev/null 2>&1 && unset $flagname
(unset $mp_flags_flagname) >/dev/null 2>&1 && unset $mp_flags_flagname
(export -n $mp_flags_flagname) >/dev/null 2>&1 && export -n $mp_flags_flagname
else
eval "$flagname=\"$mp_flags_scan_flag_cleaned\""
eval "$mp_flags_flagname=\"$mp_flags_scan_flag_cleaned\""
export $mp_flags_flagname
fi
eval "ac_env_${mp_flags_flagname}_set=\${${mp_flags_flagname}+set}"
eval "ac_env_${mp_flags_flagname}_value=\${${mp_flags_flagname}}"
eval "ac_cv_env_${mp_flags_flagname}_set=\${${mp_flags_flagname}+set}"
eval "ac_cv_env_${mp_flags_flagname}_value=\${${mp_flags_flagname}}"
done

# Since those are all precious variables they have been saved into config.cache and put into $ac_configure_args
# We need to remove them at least from $ac_configure_args, because that's being passed to sub-configures
eval "set x $ac_configure_args"
shift
ac_configure_args=
for mp_flags_configure_arg; do
case "$mp_flags_configure_arg" in
CFLAGS=* | CPPFLAGS=* | OBJCFLAGS=* | LDFLAGS=*)
mp_flags_configure_arg_key=$($as_echo "$mp_flags_configure_arg" | sed -E 's/^([^=]+)=.*$/\1/')
eval "mp_flags_configure_arg_newval=\$$mp_flags_configure_arg_key"
if test -n "$mp_flags_configure_arg_newval"; then
as_fn_append ac_configure_args " '$mp_flags_configure_arg_key=$mp_flags_configure_arg_newval'"
fi
;;
*)
as_fn_append ac_configure_args " '$mp_flags_configure_arg'"
;;
esac
done

if ! test -z "$mp_flags_scan_found"; then
@@ -9548,7 +9578,7 @@ $as_echo "$as_me: === configuring in $ac_dir ($mp_popdir/$ac_dir)" >&6;}
for mp_arg in --prefix=${macports_libexec_dir} --enable-threads; do
case $mp_arg in
--*=* | -*=*)
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?(^=+)=.*$/\1/')
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?([^=]+)=.*$/\1/')
case $mp_arg_key in
*\'*)
mp_arg_key=$($as_echo "$mp_arg_key" | sed "s/'/'\\\\\\\\''/g")
@@ -9651,7 +9681,7 @@ $as_echo "$as_me: === configuring in $ac_dir ($mp_popdir/$ac_dir)" >&6;}
# ignore --disable-option-checking
;;
--*=* | -*=*)
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?(^=+)=.*$/\1/')
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?([^=]+)=.*$/\1/')
mp_list_contains_present=
eval "mp_list_contains_list=\"$mp_sub_configure_keys\""
for mp_list_contains_entry in $mp_list_contains_list; do
@@ -9866,7 +9896,7 @@ $as_echo "$as_me: === configuring in $ac_dir ($mp_popdir/$ac_dir)" >&6;}
for mp_arg in --prefix=${macports_libexec_dir}; do
case $mp_arg in
--*=* | -*=*)
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?(^=+)=.*$/\1/')
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?([^=]+)=.*$/\1/')
case $mp_arg_key in
*\'*)
mp_arg_key=$($as_echo "$mp_arg_key" | sed "s/'/'\\\\\\\\''/g")
@@ -9969,7 +9999,7 @@ $as_echo "$as_me: === configuring in $ac_dir ($mp_popdir/$ac_dir)" >&6;}
# ignore --disable-option-checking
;;
--*=* | -*=*)
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?(^=+)=.*$/\1/')
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?([^=]+)=.*$/\1/')
mp_list_contains_present=
eval "mp_list_contains_list=\"$mp_sub_configure_keys\""
for mp_list_contains_entry in $mp_list_contains_list; do
@@ -10181,7 +10211,7 @@ $as_echo "$as_me: === configuring in $ac_dir ($mp_popdir/$ac_dir)" >&6;}
for mp_arg in --prefix=${macports_libexec_dir}; do
case $mp_arg in
--*=* | -*=*)
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?(^=+)=.*$/\1/')
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?([^=]+)=.*$/\1/')
case $mp_arg_key in
*\'*)
mp_arg_key=$($as_echo "$mp_arg_key" | sed "s/'/'\\\\\\\\''/g")
@@ -10284,7 +10314,7 @@ $as_echo "$as_me: === configuring in $ac_dir ($mp_popdir/$ac_dir)" >&6;}
# ignore --disable-option-checking
;;
--*=* | -*=*)
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?(^=+)=.*$/\1/')
mp_arg_key=$($as_echo "$mp_arg" | sed -E 's/^--?([^=]+)=.*$/\1/')
mp_list_contains_present=
eval "mp_list_contains_list=\"$mp_sub_configure_keys\""
for mp_list_contains_entry in $mp_list_contains_list; do

0 comments on commit 5dd7842

Please sign in to comment.
You can’t perform that action at this time.