Changeset 117728


Ignore:
Timestamp:
Mar 9, 2014, 9:13:30 PM (7 years ago)
Author:
cal@…
Message:

configure: regenerate after r117727.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure

    r117671 r117728  
    825825ac_user_opts='
    826826enable_option_checking
     827enable_flag_sanitization
    827828enable_werror
    828829with_objc_runtime
     
    14871488  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    14881489  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     1490  --disable-flag-sanitization
     1491                          Do not sanitize CPPFLAGS, CFLAGS, OBJCFLAGS and
     1492                          LDFLAGS
    14891493  --enable-werror         Add -Werror to CFLAGS. Used for development.
    14901494  --enable-readline       Enable addition of readline support, if readline
     
    28142818
    28152819        prefix=$oldprefix
     2820
     2821
     2822        # Check whether --enable-flag-sanitization was given.
     2823if test "${enable_flag_sanitization+set}" = set; then :
     2824  enableval=$enable_flag_sanitization; disable_mp_flags_scan=yes
     2825else
     2826  disable_mp_flags_scan=no
     2827fi
     2828
     2829
     2830        if test x"$disable_mp_flags_scan" != "xyes"; then
     2831                # Get a value for $prefix
     2832                oldprefix=$prefix
     2833                if test "x$prefix" = "xNONE" ; then
     2834                        prefix=$ac_default_prefix
     2835                fi
     2836
     2837                mp_flags_scan_found=
     2838
     2839                # Clean CFLAGS CPPFLAGS OBJCFLAGS and LDFLAGS
     2840                for flagname in CFLAGS CPPFLAGS OBJCFLAGS LDFLAGS; do
     2841                        mp_flags_scan_flag_cleaned=
     2842                        eval "set x \$$flagname"
     2843                        shift
     2844                        for mp_flags_scan_val; do
     2845                                case "$mp_flags_scan_val" in
     2846                                        -I$prefix/* | -L$prefix/*)
     2847                                                { $as_echo "$as_me:${as_lineno-$LINENO}: Removing \`$mp_flags_scan_val' from \$$flagname because it might cause a self-dependency" >&5
     2848$as_echo "$as_me: Removing \`$mp_flags_scan_val' from \$$flagname because it might cause a self-dependency" >&6;}
     2849                                                mp_flags_scan_found=1
     2850                                                ;; #(
     2851                                        *)
     2852                                                as_fn_append mp_flags_scan_flag_cleaned " $mp_flags_scan_val"
     2853                                                ;;
     2854                                esac
     2855                        done
     2856                        if test -z "$mp_flags_scan_flag_cleaned"; then
     2857                                (unset $flagname) >/dev/null 2>&1 && unset $flagname
     2858                        else
     2859                                eval "$flagname=\"$mp_flags_scan_flag_cleaned\""
     2860                        fi
     2861                done
     2862
     2863                if ! test -z "$mp_flags_scan_found"; then
     2864                        { $as_echo "$as_me:${as_lineno-$LINENO}: See https://trac.macports.org/ticket/42756 for rationale on why this script is removing these values" >&5
     2865$as_echo "$as_me: See https://trac.macports.org/ticket/42756 for rationale on why this script is removing these values" >&6;}
     2866                        { $as_echo "$as_me:${as_lineno-$LINENO}: Pass --disable-flag-sanitization if you're aware of the potential problems and want to risk them anyway" >&5
     2867$as_echo "$as_me: Pass --disable-flag-sanitization if you're aware of the potential problems and want to risk them anyway" >&6;}
     2868                fi
     2869
     2870                # Restore $prefix
     2871                prefix=$oldprefix
     2872        fi
    28162873
    28172874
Note: See TracChangeset for help on using the changeset viewer.