Changeset 2292


Ignore:
Timestamp:
Jun 18, 2011 7:55:11 AM (9 years ago)
Author:
stefan
Message:

AIX does not seem to have tr, so use some other way to replace newlines by spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2291 r2292  
    28762876if test -n "$PKG_CONFIG" ; then
    28772877  if $PKG_CONFIG --exists "$2"; then
    2878     m4_toupper($1)[]_VERSIONS="`$PKG_CONFIG --modversion "$2" 2>/dev/null | tr '\n' ' '`"
     2878    m4_toupper($1)[]_VERSIONS="`$PKG_CONFIG --modversion "$2" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`"
    28792879    $3
    28802880  else
Note: See TracChangeset for help on using the changeset viewer.