Ticket #34672: patch-configure_2.diff

File patch-configure_2.diff, 1.2 KB (added by jerome.lelong@…, 12 years ago)

Remove -arch x86_64 flag

  • work/octave-3.4.3/configure

    old new  
    3497934979
    3498034980  ## fltk (www.fltk.org)
    3498134981
     34982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fltk..." >&5
     34983$as_echo_n "checking for fltk... " >&6; }
     34984
     34985# Check whether FLTK_CONFIG is set and equal to "no"
     34986use_fltk="auto detect"
     34987if test "${FLTK_CONFIG+set}" = set ; then
     34988    if test "${FLTK_CONFIG}" = "no" ; then
     34989        use_fltk="disabled"
     34990    fi
     34991fi
     34992
     34993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${use_fltk}" >&5
     34994$as_echo "${use_fltk}" >&6; }
     34995
     34996if test "${use_fltk}" != "disabled"; then
    3498234997
    3498334998# Check whether --with-fltk-prefix was given.
    3498434999if test "${with_fltk_prefix+set}" = set; then :
     
    3505535070$as_echo "no" >&6; }
    3505635071fi
    3505735072
     35073fi
    3505835074
    3505935075
    3506035076  warn_fltk_config=""
     
    3507235088      ;;
    3507335089    esac
    3507435090
     35091    case "$CXX" in
     35092      *gcc-mp-4.6*)
     35093      FLTK_LDFLAGS="`echo $FLTK_LDFLAGS | sed -e 's/-arch [^ ]* / /g'`"
     35094        ;;
     35095    esac
     35096       
     35097
    3507535098    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL support in FLTK" >&5
    3507635099$as_echo_n "checking for OpenGL support in FLTK... " >&6; }
    3507735100    save_CFLAGS="$CFLAGS"