Changeset 2291


Ignore:
Timestamp:
Jun 18, 2011 7:33:23 AM (8 years ago)
Author:
stefan
Message:

for AIX builds, patch config.status to reduce the length of commands given to sed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2290 r2291  
    20082008    AC_SUBST(ABSBUILDDIR)
    20092009  fi
    2010  
     2010 
     2011  # On AIX, the default sed cannot deal with somewhat long sed commands executed by config.status.
     2012  # So we reduce the hardcoded number of commands given to sed from 48 to 5 in config.status, hoping this will suffice.
     2013  AC_CONFIG_COMMANDS_POST([
     2014    case $build in
     2015      *-aix*)
     2016        AC_MSG_NOTICE(patching config.status to reduce ac_max_sed_lines to 5)
     2017        sed -e 's/ac_max_sed_lines=48/ac_max_sed_lines=5/g' config.status > config.status.tmp
     2018        mv config.status.tmp config.status
     2019      ;;
     2020    esac
     2021  ])
     2022 
    20112023  AC_OUTPUT
    20122024
Note: See TracChangeset for help on using the changeset viewer.